permanent links to photo shown in lightbox

Hi,
i would like to know if there is possibility to make such a feature...
I use lightboxes for previewing images
and I cant send links to my photos b/c they dont have any URL :(
I imagine that it would be possible to have URL,
which firstly lead to album/page and
then automatically opens lightbox with adequate image
like for example here
http://monster.forall.pl/minishowcase/#025-paris2007:DSC_5476.JPG

Comments

  • trisweb Administrator
    Definitely possible. The idea is to get the request url (window.location, I believe) in the Javascript on the page, which includes the image filename after the # sign (an HTML anchor, normally) then use that string to load the correct image after the page loads. It's a good practice for javascript-based pages.

    Another good practice is to actually change that window.location when changing images, so the back/forward buttons can work, the history is intact, and bookmarks can be made. It's actually a good way to do things.

    I've been planning on making a javascript-based theme for ages now.. I hope I get the time soon, because it'd be really freakin cool.
  • I'll be waiting for this cool feature :)
    I'm really interested in it!
Sign In or Register to comment.