Creative Commons License
This work is licensed under a Creative Commons License.

Javascript Photo Gallery

F.A.Q.

  1. Can I link directly to an image?
  2. Must I use styles/CSS?
  3. Is this all you have for a FAQ?

Can I link directly to an image?

Yes. Two ways. Either by the index of the image (zero-based) or by file name (the safer of the two since the index will change if you re-order your gallery whereas the filename won't). File names are not case-sensitive.


  http://www.mywebsite.com/myphotos.htm?img=6
	
  http://www.mywebsite.com/myphotos.htm?file=picture_002.jpg

top of page

Must I use styles/CSS?

No, though, judging purely from the stats of my site (and a wee bit of research) it's safe to assume your visitors will have CSS enabled browsers. This makes your life much easier.

top of page

Is this all you have for a FAQ?

Pathetic, eh? I'm in the midst of documenting more features, but am really busy and so far no one has wanted more features, so, yeah, this is the FAQ.

top of page

 

Script from PizzaByTheSlice.com. Visit the Javascript tips for instructions and latest version.