Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jan 2006
    Posts
    243
    Thanks
    14
    Thanked 2 Times in 2 Posts

    Simple gallery script

    Hi,

    I have a simple HTML gallery on my site (here), when you click a thumbnail it opens a new window from where you can browse through the pictures using a right/left arrow. As it is all html, it is completely static and when I want to move thumbnails around I have to make sure the arrows in all the adjacent view windows still point to the correct picture (corresponding with the thumbnail left or right of it).

    I want to make this a bit more felxible so I can easily switch their order while the arrows always point to the picture left or right of it.

    I want to try to solve this with Javascript, but I'm sure there are multiple solutions to this problem, as my gallery mechanics aren't exactly revolutionairy. Any help, previous experience or ideas are very welcome.

    The code isn't yet a problem, for now it's mostly the way in how to best aproach this.

  • #2
    ess
    ess is offline
    Regular Coder
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    866
    Thanks
    7
    Thanked 30 Times in 29 Posts
    Looks very nice already..

    You mentioned that you use plain html to create the thumb nails etc.

    Since your website is hosted on Apache/2.0.51 (Fedora) (ServerSpy plugin firefox ), you should have PHP installed. Here is a FolderGallery project by Joonas Viljanen that I think would be of interest to you.

    Cheers,


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •