wrathican Posted February 28, 2008 Share Posted February 28, 2008 Hi, I want to create an image gallery that looks like the following image (click to see, cant remember rules on images) http://ls12style.co.uk/stuff/layout.jpg To get it laid out the way i want i need to use tables, and there isnt hundreds, but still a few. all the positioning is how i want it, appart from the album list, but thats not a problem for this forum. The problem im presenting is this: -i want the image thumbnails to show along the bottom in the order they are in the database. (ordered by id) -the current image is not to be shown in the 'filmstrip' -the arrows at each end represent next and previous. when you load the album for the first time, it gets the list of files from a database. then it displays the first image in the list in the centre. the images on the right of the serperator are going to be the next images in the list. when clicking the next button the next image is loaded into the centre and the first image appears as a thumb in the previous part of the filmstrip and so on. the thing im confused about is how to do this. i can get the rows from the DB but its how to display it im worried about. please help if u understand. if not ask me about what u dont understand. I think im going to use the $_GET method to get the id of which image is going to be shown in the centre. i guess i could use a counter to get the next 3 and previous 3 images in the list? Thanks in advanced Link to comment https://forums.phpfreaks.com/topic/93546-image-gallery/ Share on other sites More sharing options...
Baabu Posted February 28, 2008 Share Posted February 28, 2008 Well i would suggest you to try out some tutorials of making Web album with php and mysql it will help u alot in getting basic idea Link to comment https://forums.phpfreaks.com/topic/93546-image-gallery/#findComment-479342 Share on other sites More sharing options...
aebstract Posted February 28, 2008 Share Posted February 28, 2008 It won't be that hard to do this with php/mysql though if you wanted it to run smoothly without having to load on every image you click, you'd have to use some javascript. Why are you using tables for anything that isn't tabular data? Link to comment https://forums.phpfreaks.com/topic/93546-image-gallery/#findComment-479364 Share on other sites More sharing options...
wrathican Posted February 28, 2008 Author Share Posted February 28, 2008 the tables are the placeholders, i know i can do this using css, but this was just a qucik rough guide, i need to spend more time on the design. and im looking into using ajax in the future to make it better and smoother. Link to comment https://forums.phpfreaks.com/topic/93546-image-gallery/#findComment-479407 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.