midgley Posted January 20, 2009 Share Posted January 20, 2009 ...i think its probably best if i explain what i have done so far and what im trying to achieve: i have a php page that displays thumbnails of all the images in a folder (new images regularly inserted), and my database knows there names, comments etc. now i want to be able to click on a thumbnail image and load the full image and description etc for that image. how will i go about detecting which thumbnail was clicked, thus which description to display? will i need to send the image name into javascript with the onmousedown() event whilst loading a new php page, relaying the image name back into the new php script - think this is referred to as Ajax?? or is there an easier way? Link to comment https://forums.phpfreaks.com/topic/141593-solved-hi-suggestions-needed-on-how-best-to/ Share on other sites More sharing options...
midgley Posted January 20, 2009 Author Share Posted January 20, 2009 sorry bout this, ive decided to use a session variable to deal with this cheers Link to comment https://forums.phpfreaks.com/topic/141593-solved-hi-suggestions-needed-on-how-best-to/#findComment-741127 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.