jmaster911 Posted November 25, 2006 Share Posted November 25, 2006 Hi,I'm very new to PHP and web design so forgive me if I'm asking something simple here.I am designing a modelling directory at which prospective models may post their details and a few pictures. When a general user browses the system they can select a model to view more details on her. Once selected the details page is displayed along with the first of any pictures the model may of posted to the site. My problem is that I would like to enable the user to scroll through all the available pictures without having to reload the page. For example I am putting next and previous button onto the page and when selected I would like the next (or previous) picture in the photo set to replace the first one shown without having to reload.An extension to this will be that all the available pictures will be displayed as thumbnails, these thumbnails are created on the fly through an image resizing function so there are no actual thumbnails present. If the user selects one of the thumbnails I would again like the master picture replaced with the selected thumbnail without having to reload the page.I hope this all makes sense and your help is appreciated, I'm usually a big fan i=of working these things out yourself else you don't learn but this one has me stumped.Thanks again Quote Link to comment https://forums.phpfreaks.com/topic/28468-switching-images-without-a-page-reload/ Share on other sites More sharing options...
fert Posted November 25, 2006 Share Posted November 25, 2006 you would need ajax to do that Quote Link to comment https://forums.phpfreaks.com/topic/28468-switching-images-without-a-page-reload/#findComment-130263 Share on other sites More sharing options...
Philip Posted November 25, 2006 Share Posted November 25, 2006 I would recommend using Javascript, AJAX, or flash to do this. Quote Link to comment https://forums.phpfreaks.com/topic/28468-switching-images-without-a-page-reload/#findComment-130264 Share on other sites More sharing options...
jmaster911 Posted November 25, 2006 Author Share Posted November 25, 2006 Thanks, any chance you can point me in the right direction. Quote Link to comment https://forums.phpfreaks.com/topic/28468-switching-images-without-a-page-reload/#findComment-130267 Share on other sites More sharing options...
Philip Posted November 25, 2006 Share Posted November 25, 2006 http://dhtmlnirvana.com/ajax/ajax_tutorial/ It has 2 different types of image galleries. Quote Link to comment https://forums.phpfreaks.com/topic/28468-switching-images-without-a-page-reload/#findComment-130269 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.