New user - what is the best way to create web gallery
I am a computer scientist who worked with html and php as far as web development but I have never built an entire website.
I just graduated from college so my experience is not much.
Now here is the thing, I want to create a web page to represent my photographs and designs and I faced the following problem:
I want to create a single html page with either link as text or button to navigate to the next and previous picture.
So I just need some help or ideas to accomplish this task the proper way.
Thanks in advance.
As far as I know, JS couldn't possibly tell what image files reside inside a gallery directory, without a help from PHP. And if you're using this (ajax) scenario, I don't see any security dangers in that.
But why don't you just let PHP create your previous, and next links/ buttons. Current image state would be passed through a GET form, or though cookies. No JS is required, and it's simpler I guess.
Last edited by hdewantara; July 3rd, 2012 at 01:48 AM.
July 26th, 2012, 06:15 AM
I use smugmug.com and post to galleries directly. I find it very simple and intuitive.