Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Displaying multiple thumbnail and a main image with different source Re: Displaying multiple thumbnail and a main image with different source

#122257
Presto
Participant

Hello @ajnoguerra,

I would create a new folder in your images directory called thumbs so /images/thumbs/ then save your thumbnails in that folder with the same name as the larger images in the main images directory, then when calling the database get your image name, then when echoing out the images for the thumbnails just direct them to the thumbs dir like so:

echo ‘
‘;

This way you can use the same image name in the database but two image sources, I hope that helps get you started.