tropiland Posted April 17, 2008 Posted April 17, 2008 Hello to all, I am setting up a real estate website and it would be imperative to be able to have my traffic click to my thumbnail pictures and enlarge them. Does anyone here know of a contribution or code that will do this? If so where and how would I go about implementing? Thank you for your time and consideration. Dimitri "Neo" Greco
photofxplus Posted April 17, 2008 Posted April 17, 2008 The page popup_image.php shows enlarged images of products in the store. You would need to send the product_id as a get variable with the URL if you use this page.. Are the thumbnails - products in your store (therefore they have a product_id) or just images that you want to enlarge on click?? If they are products then you may be able to use the popup_image.php page. If not - It may be easier just to create your own pop up page. Do you have separate enlargements or are you planning on enlarging the thumbnails?? You will need to decide this because you will need the file path. Or perhaps you can add to the page popup_image.php code looking for a common get variable sent by the onclick event. The biggest question is are the thumbnails products in the database, or just thumbnail images that you wish to enlarge?? Lloyd
tropiland Posted April 17, 2008 Author Posted April 17, 2008 The page popup_image.php shows enlarged images of products in the store. You would need to send the product_id as a get variable with the URL if you use this page.. Are the thumbnails - products in your store (therefore they have a product_id) or just images that you want to enlarge on click?? If they are products then you may be able to use the popup_image.php page. If not - It may be easier just to create your own pop up page. Do you have separate enlargements or are you planning on enlarging the thumbnails?? You will need to decide this because you will need the file path. Or perhaps you can add to the page popup_image.php code looking for a common get variable sent by the onclick event. The biggest question is are the thumbnails products in the database, or just thumbnail images that you wish to enlarge?? The thumbnails are just that....thumbnails I would like to enlarge.
photofxplus Posted April 17, 2008 Posted April 17, 2008 The thumbnails are just that....thumbnails I would like to enlarge. The you would do best by creating your own pop_up page and send the image path to it. Be advised that changing the actual dims of an image in a browser will cause distortion. Lloyd
Recommended Posts
Archived
This topic is now archived and is closed to further replies.