2013-11-02, 07:45:16
(2013-11-02, 04:41:23)mvlcek Wrote:(2013-11-02, 04:01:01)Martin Wrote: Hi mvlcek – thanks for your fast help.
I tried it and it works fine – also with prettyphoto.
It is also nice, that I can open the gallery with an defined picture: eq(x)
Excuse me for 2 more questions:
1. is it possible to use filtering (tags=x), when I open a gallery with such a link?
2. can I open the gallery with a special picture defined by the name of the picture (xxx.jpg (thumb or big one)) and not by number?
Thanks again!
1. no
2. Fancybox:
PrettyPhoto:Code:<a href="#" onclick="$('.gallery-thumb a[name=MyPictureName]').trigger('click'); return false;">Open Gallery</a>
Code:<a href="#" onclick="$('.gallery-thumb img[alt=MyPictureName]').trigger('click'); return false;">Open Gallery</a>
Ups – zu früh gefreut.
Tried the code-line for PrettyPhoto with the picture-name – not working yet.
Question: Do i have to mention the name of the Thumb (i18npic.160x120.K1_04.jpg) or the name of the big pic (K1_04.jpg)? – I think thumb – or?
Foldername?
Will try tomorrow again