googlit Posted September 8, 2010 Share Posted September 8, 2010 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 More sharing options...
pornophobic Posted September 9, 2010 Share Posted September 9, 2010 Are the images themselves stored in the database as a BLOB, or just the paths? Link to comment https://forums.phpfreaks.com/topic/212914-lightbox-with-images-from-dbany-ideas/#findComment-1109043 Share on other sites More sharing options...
googlit Posted September 9, 2010 Author Share Posted September 9, 2010 Hi the images are storred as paths Link to comment https://forums.phpfreaks.com/topic/212914-lightbox-with-images-from-dbany-ideas/#findComment-1109099 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.