Solarpitch Posted September 15, 2007 Share Posted September 15, 2007 Hi, How do you open am image in a new page or window when the user clicks on the thumbnail? I want to display the full size image when the user clicks on it. I store the path to the images in the database, the thumbnail in "user_images/thumbnail" and the full size image in "user_images/". Cheers. Quote Link to comment https://forums.phpfreaks.com/topic/69456-opening-an-image-in-a-new-window-or-page/ Share on other sites More sharing options...
LemonInflux Posted September 15, 2007 Share Posted September 15, 2007 If you can alter the code for the thumbnail display, try <a href="$filename" target="_blank">thumnail </a> I presume that's what you meant. If you want a popup window, that's JavaScript Quote Link to comment https://forums.phpfreaks.com/topic/69456-opening-an-image-in-a-new-window-or-page/#findComment-348995 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.