2015-01-22, 08:29:32
(Re the id param)
Brilliant ! This is exactly what I want if I use the id param with the thumb param – It works perfectly !
Reminder : What I want : Have one or more different thumbs (say upto 3) on the same page, and on other pages, but in different positions on the page separated by other content (ie not together in a tabular form), and then all belong to the same gallery, and when you click on any such thumb you can scroll through ALL the images of the gallery
Example :
... where the values of id are just any text, but different for each gallery statement.
So apologies for not understanding this from your docs description of id ( http://mvlcek.bplaced.net/get-simple/i18ngallery ) .. the docs descriptions of the params such as id, tags, pic are a bit short for me !
Request : I think it would be good for others if you could expand these descriptions and have an example for each. … And then I would not ask so many questions !
Yes I see now, in the generated HTML the use of the tags param or the id param differentiates the code for each gallery on the page with the rel attribute (and maybe other places), even if the gallery name is the same … and then this is sufficient for all galleries to function properly
But in my case I cannot use the tags param for what I want to do (see above), eg by defining a tag for just one image, because on clicking and opening the gallery I would only see that single image as the enlarged image
But the id param works perfectly for what I want, if I use it with the thumb param (because with the thumb param you display just the one thumb , but the enlarged gallery window shows all images of the gallery)
So thanks again
Aldebaran
(2015-01-22, 04:48:53)mvlcek Wrote: Great! You found a feature I wasn't even aware of anymore.
You can use the same gallery multiple times on the same page by specifying an id (i.e. any text string)
Brilliant ! This is exactly what I want if I use the id param with the thumb param – It works perfectly !
Reminder : What I want : Have one or more different thumbs (say upto 3) on the same page, and on other pages, but in different positions on the page separated by other content (ie not together in a tabular form), and then all belong to the same gallery, and when you click on any such thumb you can scroll through ALL the images of the gallery
Example :
Code:
(% gallery name=my-gallery-1 thumb=0 id=g1 %)
Some other content. Some other content ...
(% gallery name=my-gallery-1 thumb=3 id=g2 %)
So apologies for not understanding this from your docs description of id ( http://mvlcek.bplaced.net/get-simple/i18ngallery ) .. the docs descriptions of the params such as id, tags, pic are a bit short for me !
Request : I think it would be good for others if you could expand these descriptions and have an example for each. … And then I would not ask so many questions !
(2015-01-22, 04:48:53)mvlcek Wrote: By looking at the code you should be able to omit the id, if you use different tags, e.g. …
Yes I see now, in the generated HTML the use of the tags param or the id param differentiates the code for each gallery on the page with the rel attribute (and maybe other places), even if the gallery name is the same … and then this is sufficient for all galleries to function properly
But in my case I cannot use the tags param for what I want to do (see above), eg by defining a tag for just one image, because on clicking and opening the gallery I would only see that single image as the enlarged image
But the id param works perfectly for what I want, if I use it with the thumb param (because with the thumb param you display just the one thumb , but the enlarged gallery window shows all images of the gallery)
So thanks again
Aldebaran