Advertisement:

Author Topic: Thumbnail on Topic Listing  (Read 178405 times)

Offline madman71

  • Full Member
  • ***
  • Posts: 652
Re: Thumbnail on Topic Listing
« Reply #80 on: November 21, 2008, 09:23:18 AM »
thanks Vb :)

Offline vdubbia

  • Jr. Member
  • **
  • Posts: 145
Re: Thumbnail on Topic Listing
« Reply #81 on: November 22, 2008, 07:57:17 PM »
does this need an image physically uploaded as an attachment?  Or if someone posts an image using photobucket or imageshack, will a thumb also be created?

Offline madman71

  • Full Member
  • ***
  • Posts: 652
Re: Thumbnail on Topic Listing
« Reply #82 on: November 22, 2008, 08:14:09 PM »
yep! physically attached is the only way it works.

I only wished it could detect free hosting site links like Imagevenue, photobucket, etc.

I know Vbulliten has a mod that does that.

Offline HR

  • Jr. Member
  • **
  • Posts: 321
  • Gender: Male
  • There is only ONE 'Reality!
    • http://only-harshreality.com/forums/
Re: Thumbnail on Topic Listing
« Reply #83 on: December 01, 2008, 03:37:51 PM »
I posted in vb's inspirational thread to see if it could be altered to reflect avatar height/width rather than attachment but for the time being in messages index Ive simply altered:

Code: [Select]
'width' => $row['thnWidth']/3,
'height' => $row['thnHeight']/3

so it scales it to 1/3 of the attachment size on display. Makes it a lil more conforming... I did get it humming but the posts where zips are loaded before the images are still not showing in topics.. trying to trace down the code for that aspect and going cross-eyed
« Last Edit: December 01, 2008, 06:43:37 PM by HR »
I can explain this as simply as possible.. If I do it & implement I guarantee it.
 If I do it and you implement it its a crap shoot.

Offline nzmacro

  • Semi-Newbie
  • *
  • Posts: 21
Re: Thumbnail on Topic Listing
« Reply #84 on: December 02, 2008, 05:00:56 AM »
 ;) HR, a HUGE thanks and now I'm on the right track. Wonderful and can't thank you enough  ;D

Danny.

Offline nzmacro

  • Semi-Newbie
  • *
  • Posts: 21
Re: Thumbnail on Topic Listing
« Reply #85 on: December 02, 2008, 06:15:50 AM »
I would love to get this to scale correctly for both horizontal and vertical images. If we take a scale for a photograph at 640 x 480 in the horizontal, to get a thumb at 64 x 48 is easy and it shows correctly, but when we go to a vertical shot it seems to squash it into an almost square and the scale is way off for a vertical thumb of 48 x 64. To find a fix for this would be perfect.

Similar to what VB has for the SMF gallery (yes bought and paid for  :) ) would be ideal if that could be adapted for this mod.

Anyway, thanks for your time HR, I'm looking deeper into it now.

Danny.   

Offline HR

  • Jr. Member
  • **
  • Posts: 321
  • Gender: Male
  • There is only ONE 'Reality!
    • http://only-harshreality.com/forums/
Re: Thumbnail on Topic Listing
« Reply #86 on: December 02, 2008, 07:28:47 AM »
;) HR, a HUGE thanks and now I'm on the right track. Wonderful and can't thank you enough  ;D

Danny.
Welcome, now if we just had the thing look at all the attachments and show only the first jpg it'd be gold OR.. a lil plugin like the buddy mod where you can move an attachment up or down the list..

So so.. this is me rambling but I get the ID.ATTACH reference and what not (for the most part) perhaps it should be tweaked (if I knew how I would) so that its looking in height & width for anything that is not null.. zips and the like record a value of '0' in the database so perhaps if it hits the first attachment and its height or width in the database (attachments table) in not '0' then stop and display the thing else go on to the next and compare.

I know.. this might seem pointless to you but I will most likely look back at this later and figure a way to bandaid it and make it work
« Last Edit: December 02, 2008, 08:31:49 AM by HR »
I can explain this as simply as possible.. If I do it & implement I guarantee it.
 If I do it and you implement it its a crap shoot.

Offline kassie

  • Semi-Newbie
  • *
  • Posts: 25
  • Gender: Female
Re: Thumbnail on Topic Listing
« Reply #87 on: January 17, 2009, 05:48:32 PM »
I have a new forum installed only weeks old. With a few other mods installed. This mod is working in the SMF default theme but not in a custom theme I'm using.
I tried to manually code my themed MessageIndex.template.php but the codes I need to find just aren't in there.
If I attach the MessageIndex.template.php here could someone fix it for me please?

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,553
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Thumbnail on Topic Listing
« Reply #88 on: January 18, 2009, 03:21:02 PM »
Might but if it is too different then it may be difficiult
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline kassie

  • Semi-Newbie
  • *
  • Posts: 25
  • Gender: Female
Re: Thumbnail on Topic Listing
« Reply #89 on: January 18, 2009, 04:52:49 PM »
Might but if it is too different then it may be difficiult

I have attached it. ..... thank you for giving it a go :)


EDIT: never mind I got it to work YAY!
« Last Edit: January 22, 2009, 09:28:01 PM by kassie »

Offline aw06

  • SMF Hero
  • ******
  • Posts: 2,763
  • Gender: Male
  • Make The Link
    • shopinja.classifieds on Facebook
    • @shopinja on Twitter
    • ShopinJA.com
Re: Thumbnail on Topic Listing
« Reply #90 on: January 22, 2009, 03:19:21 PM »
Few question ..

Can the thumbnail size be adjusted?
Does it Show a thumbnail if and external image is linked and not attached?
Do you get a admin panel?
can you specify which boards to use this mod?
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,553
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Thumbnail on Topic Listing
« Reply #91 on: January 22, 2009, 08:15:38 PM »
Few question ..

Can the thumbnail size be adjusted?
Does it Show a thumbnail if and external image is linked and not attached?
Do you get a admin panel?
can you specify which boards to use this mod?

None of the above are built in.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline aw06

  • SMF Hero
  • ******
  • Posts: 2,763
  • Gender: Male
  • Make The Link
    • shopinja.classifieds on Facebook
    • @shopinja on Twitter
    • ShopinJA.com
Re: Thumbnail on Topic Listing
« Reply #92 on: January 22, 2009, 10:45:11 PM »
ok, so how can i change thumbnail size .. and also how do i make it see external images.
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Offline madman71

  • Full Member
  • ***
  • Posts: 652
Re: Thumbnail on Topic Listing
« Reply #93 on: January 22, 2009, 10:47:55 PM »
It's not coded to grab external images unfortunately :(

Im hoping one day it will

Offline aw06

  • SMF Hero
  • ******
  • Posts: 2,763
  • Gender: Male
  • Make The Link
    • shopinja.classifieds on Facebook
    • @shopinja on Twitter
    • ShopinJA.com
Re: Thumbnail on Topic Listing
« Reply #94 on: January 22, 2009, 11:09:07 PM »
It's not coded to grab external images unfortunately :(

Im hoping one day it will

bummer .. all my images are external .. so this mod wont work ...

Any other mods that may get this done ??
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Offline madman71

  • Full Member
  • ***
  • Posts: 652
Re: Thumbnail on Topic Listing
« Reply #95 on: January 22, 2009, 11:10:43 PM »
no, there's no mod for SMF that will do this.  There is one for VB forums though.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,553
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Thumbnail on Topic Listing
« Reply #96 on: January 22, 2009, 11:11:50 PM »
It's not coded to grab external images unfortunately :(

Im hoping one day it will

bummer .. all my images are external .. so this mod wont work ...

Any other mods that may get this done ??
How would that work for external images?
Since they have no thumbnails plus the mod would have to scan the post for valid image links
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline aw06

  • SMF Hero
  • ******
  • Posts: 2,763
  • Gender: Male
  • Make The Link
    • shopinja.classifieds on Facebook
    • @shopinja on Twitter
    • ShopinJA.com
Re: Thumbnail on Topic Listing
« Reply #97 on: January 22, 2009, 11:45:01 PM »
can it not display a pic of the first image found in a img tag ...  :-\
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,553
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Thumbnail on Topic Listing
« Reply #98 on: January 22, 2009, 11:49:51 PM »
Could but the image could really be really really big
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline madman71

  • Full Member
  • ***
  • Posts: 652
Re: Thumbnail on Topic Listing
« Reply #99 on: January 22, 2009, 11:59:16 PM »
Most of the free image hosts that use the IMG tag are for displaying thumbnails.

such as this link:
Code: [Select]
[URL=http://img127.imagevenue.com/img.php?image=86608_P1010360_5Large6_122_806lo.JPG][IMG]http://img127.imagevenue.com/loc806/th_86608_P1010360_5Large6_122_806lo.JPG[/IMG][/URL]
The first part of the link leads to the full size image, the second part will display the thumb