Photo Gallery wanted
Date: 02/11/09
(Javascript Community) Keywords: php, css, html, asp, java, web
Hi there! I'm looking for help and I hope the JavaScript savvies can help me here. I can't write JS myself, but I am good enough to be able to read most of the code I copy&paste and know where to change the variables :-)
I am trying to set up a photo gallery using simple java script.
The requirements are relatively easy:
- I want a placeholder at the top where the images appear. Like 800x800 or something.
- I want thumbnails (or links) underneath and when you click one of them, the big image appears in the placeholder atop.
- I need the placeholder to adjust to landscape and portrait format. Most of my images have different aspect ratios.
- I need it to be pure JavaScript in one html page. No php or anything because my server does not allow it. CSS is ok, though.
- I want to be able to add an image once in a while without changing multiple html pages, so album generators which generate several pages from a set or images is out. I use that for vacation pics, but not for the purpose I have in mind now.
I found this page: Image Gallery and it's almost all I need, except that the creator is of the strange opinion that all pictures should have an aspect ratio of 1:1.
Any help, or pointing me to a website that can help is greatly appreciated!
Thanks so much!
Source: http://community.livejournal.com/javascript/165211.html