Customizing SMF > Modifications and Packages

Thumbnail on Topic Listing (SMF 2.0 Support Added!)

<< < (62/69) > >>

vbgamer45:
Currently doesn't support that. You would have to loop though all the image attachments in the topic and echo each one.

City Builder:
Okay, so is there anybody around that can mod this mod so that it pulls the first image in a list of attachmenents instead of only looking at the first attachment to see if it's an image?  Basically have it display the first image that are attached to a topic, instead of not displaying anything if the first attachment on a topic isn't an image?

Thanks

Liam_michael:

--- Quote from: City Builder on April 17, 2012, 07:25:26 PM ---Okay, so is there anybody around that can mod this mod so that it pulls the first image in a list of attachmenents instead of only looking at the first attachment to see if it's an image?  Basically have it display the first image that are attached to a topic, instead of not displaying anything if the first attachment on a topic isn't an image?

Thanks

--- End quote ---

That's interesting, never knew of this limitation. You could put a notice to all your members so that if someone is uploading a file and they want their image displayed in the message board, then post the image first and all other files after.

City Builder:

--- Quote from: Liam_michael on April 17, 2012, 09:05:32 PM ---
--- Quote from: City Builder on April 17, 2012, 07:25:26 PM ---Okay, so is there anybody around that can mod this mod so that it pulls the first image in a list of attachmenents instead of only looking at the first attachment to see if it's an image?  Basically have it display the first image that are attached to a topic, instead of not displaying anything if the first attachment on a topic isn't an image?

Thanks

--- End quote ---

That's interesting, never knew of this limitation. You could put a notice to all your members so that if someone is uploading a file and they want their image displayed in the message board, then post the image first and all other files after.

--- End quote ---
One of the problems with that is we've already got over 10,000 topics with images and other files attached.  The other problem is that when you have over 100,000 members, you find that there is a huge amount of people that can't figure out how to follow instructions, always best to try to fool proof the system to help those that have a hard time following instructions, even something as simple as saying, Upload your images files first, then your other files.

I'd use it the way that it is, but it really just makes the topic indexes look too sloppy with so many missing thumbnail images.  I'm not ocd or anything like that but it just drives me batty to see so many missing thumbnail images.  Which is why it would also be nice if this mod were to use an image that the admin can choose in the admin settings somewhere that could use a default image for those topics that don't have any images attached.  On some of those 10,000 topics there are no images, just other files attached, so while they are not that many, to keep things neat with this mod it would be good to have a default image as well.


Liam_michael:
Very true, then do what I've done:

http://biology-forums.com/index.php?board=17.0

When there is no image uploaded, it gives the original icon.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version