Jump to content

Lightbox with images from db..........any ideas??


googlit

Recommended Posts

ok so for the second issue of the night, has anyone used lightbox with images that are fetched from a database (mysql)??

 

i have the following but it opens at the bottom of the page and not in a lightbox...

 

echo '<a href="' . $row['image'] . '" rel="lightbox[roadtrip]"><img src="' . $row['image'] . '" width="100" alt=""></a>';

 

full code on attachment

 

 

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/212914-lightbox-with-images-from-dbany-ideas/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.