Re: Multiple <a> Tags, Filled With MySQL DB data with PHP [message #179261 is a reply to message #179220] |
Wed, 26 September 2012 20:35 |
tom.rankin51
Messages: 17 Registered: September 2012
Karma:
|
Junior Member |
|
|
After a bit of fiddling, it appears as though something doesn't like a) thumbnails loading for every image as per the code I had written, b) other code referencing the same images at once, c) even code nested in comment tags which I can't understand but it did seem to make a difference.
A fancybox gallery is so due to the contents of the "rel" tag, and then is displayed on the page by one initial <img> tag (obviously within the first <a> tag) for every instance of "rel".
Anyway, seeing as I have figured that bit out, I'm thinking I now need a bit of php to figure out how to load a thumbnail for the last added image only while keeping the <img> tags out of the loop for everything else. The kicker is that I would need the last added image for every different "rel" designation which will obviously be different.
|
|
|