Keyword

Commands for Gallery?

  • Daniel Peisker
  • Daniel Peisker's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 months ago #51933 by Daniel Peisker
Commands for Gallery? was created by Daniel Peisker
Hi all,
I'm testing SIGP in my test environment at the moment. All is fine. You can have a look her: joomla.peisker-ranch.de/index.php/de/galerie/bilder

My next step is to create an overview page for all my galleries. So I only want to show one (the first) picture (first thumbnail) and a link to the page with the gallery. I noticed the options flag in the admin panel, but in the content pages I will show all thumbnails.

My question is: are there additinal commands to the start of the gallery to only show one picture?

Something like this:
<a href="horses.php">{gallery}images/horses?show-only-first-picture{/gallery}</a>

Best regards...Daniel

Please Log in or Create an account to join the conversation.

  • Daniel Peisker
  • Daniel Peisker's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 months ago #51934 by Daniel Peisker
Replied by Daniel Peisker on topic Re: Commands for Gallery?
Ok, I found my solution in the documentation:

New extended syntax for more flexibility. Use for example {gallery}mygallery:200:140:0:2{/gallery} to instruct the plugin to fetch the images inside the "mygallery" folder, resize them to 200px width and 140px height, display the gallery in normal (grid) mode, create and use a en-GB_labels.txt file inside the "mygallery" folder, ready for you to edit.


First 2 numbers are width and high of the thumbnails.
Number 3 is "0" for the normal (grid) mode or "1" for a single thumnail.
Number 4 is the selected language label.txt file (0=none; 1=default (in my case de-DE); 2=en-EN ...)

Please Log in or Create an account to join the conversation.

  • Daniel Peisker
  • Daniel Peisker's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 months ago #51935 by Daniel Peisker
Replied by Daniel Peisker on topic Re: Commands for Gallery?
So here is my last question (for now  ;))
is there a way to change the link parameter for this single thumnail from ist "normal" gallery opening link to e.g. "horses.php"?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum