Richlilley Posted April 27, 2007 Share Posted April 27, 2007 Hello I have an image for each product that I would like a bigger preview image to seen. In my product database image is row 5 and image enlarge is row 6. I have this code but its not working, its from Dynamic drive, I have just placed the php in, must be wrong??!! <a href="productimages <? echo $row[5]; ?>" rel="lightbox" ><img src="productimages<? echo $row[6]; ?>" width="160" height="160" /></a> Can any body ahed some light or suggest how to do it thanks Rich Quote Link to comment Share on other sites More sharing options...
suzzane2020 Posted April 27, 2007 Share Posted April 27, 2007 ummm cud u be more specific is this wat u had in mind? product small- image -big preview image Quote Link to comment Share on other sites More sharing options...
taith Posted April 27, 2007 Share Posted April 27, 2007 dont use [ # ]'s... they complicate life... use the table names instead... <a href="productimages/<?=$row[5];?>" rel="lightbox" ><img src="productimages/<?=$row[6];?>" width="160" height="160" />[/url] what does get output to your browser's source? Quote Link to comment Share on other sites More sharing options...
Richlilley Posted April 27, 2007 Author Share Posted April 27, 2007 Thanks that seems to be working just need to figure out how to increase the pop up window size.?? Rich Quote Link to comment Share on other sites More sharing options...
taith Posted April 27, 2007 Share Posted April 27, 2007 that there is not a popup... or atleast from the code you gave. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.