ringworm24 Posted February 19, 2010 Share Posted February 19, 2010 Hi, I was wondering if anyone could help a newbie I am using CSS MYSQL and PHP. And for a learning excises I am trying to make my own gallery. Basically I have it so I can click on the album and it shows all the thumb nail pictures and then I click on the picture and it displays the picture. I was hoping to take it one step further by display the preview pictures in a container , which would then display the picture in a different container. I can do this by passing a variable in a link to the same page and using GET. The only problem with this that it will have to load all the preview pictures again. So finally how can I achieve the above with PHP/CSS without having to load all the preview pictures every time Hope that made sense? Many thanks Quote Link to comment Share on other sites More sharing options...
jug Posted February 23, 2010 Share Posted February 23, 2010 Hi, AJAX could be used here but depending on your needs you may only need something like lightbox (http://www.huddletogether.com/projects/lightbox2/) or fancybox (http://fancybox.net/). Take a look at the link below. http://www.rob-passmore.co.uk/gallery/portrait/ This is a site I developed and includes a gallery very similar to your description. No AJAX is involved here and it is just the use of the brilliant fancybox. Hope this helps. jug Quote Link to comment 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.