Jump to content

Recommended Posts

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
Link to comment
https://forums.phpfreaks.com/topic/28468-switching-images-without-a-page-reload/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.