2010-08-01
Very Simple Image Gallery Plugin Sample04
Written by Andreas Berger   
Monday, 23 November 2009 19:13
Title pic01
Title pic01Text pic01
Title pic01
Title pic02
Default-Title
Default-Title
Default-Title
Title pic08

 

bild01
bild02
bild03
bild04
bwd  Set 1/2  fwd

This sample shows the usage of multiple galleries in one article. The assumption is that the settings for the first gallery are set in the backend configuration panel whilst the second gallery is configured using Parameter Overrides. In addition the first gallery uses Captions, the second one has set a default link. Of course it would be possible to configure both galleries with Parameter Overrides.

Settings in the plugin configuration panel

The settings for the first gallery in your backend are:

  • Gallery width: 430
  • max. Image height:
  • Image quality: 90
  • Align the gallery: Center
  • Thumbnail width: 90
  • Thumbnail height: 60
  • Crop thumbnails: keep proportions
  • Image thumbnail quality: 80
  • Space between thumbs: 5
  • Thumbnails are shown: Justified - below the image
  • Place for thumbnails in percent of gallery width: 30
  • Sort order: A-Z
  • Use sets of size:
  • Label sets: Set
  • Link/button forward:
  • Link/button backward:
  • Show captions? Yes
  • Position of captions? Inside
  • Use links? Yes
  • Image root: /images/stories/
  • Buttonfolder: /images/stories/vsig_buttons/
  • Use JavaScript? Yes
  • Foldername as ID? No

Code in article

To show the images in the folder /images/stories/verysimple, type the following code in your article at the place you want the gallery to be shown:

{*vsig}verysimple{/vsig*} - (without the asterisks)
{*vsig_c}0||Default-Title|Default-Text{/vsig_c*} - (without the asterisks)
{*vsig_c}0|bild01.jpg|Title pic01|Text pic01{/vsig_c*} - (without the asterisks)
{*vsig_c}0|bild02.jpg|Title pic02|{/vsig_c*} - (without the asterisks)
{*vsig_c}0|bild03.jpg||Text pic03{/vsig_c*} - (without the asterisks)
{*vsig_c}0|bild04.jpg||{/vsig_c*} - (without the asterisks)
{*vsig_c}0|bild08.jpg|Title pic08|Text pic08{/vsig_c*} - (without the asterisks)

Overrides

Now we use Parameter Overrides to configure the second gallery. The necessary parameters (refer to samples 1-3 for a full list) are:

  • twidth=69
  • theight=46
  • space=4
  • right=1
  • area=22
  • sets=4
  • setstxt=Set


Notice: The combination of thumbnails right of the main image PLUS the usage of sets is - up till now - a little tricky and does not allow to make full use of the available space in FireFox. Therefore the second gallery is indented agains the first one. Follow up versions will deal with this problem.

This is the code. The first line calls the gallery. (Of course it does not have to be the same image folder twice - blame this to my laziness). The second line sets the default link. Important is the first parameter "1" for the second gallery in your article (count: 0,1,2,...)l:

{*vsig}verysimple|twidth=69|theight=46|space=4|right=1|area=22|sets=4|setstxt=Set{/vsig*} - (without the asterisks)
{*vsig_l}1||http://extensions.joomla.org/extensions/photos-&-images/photo-gallery/6301/details|Default Link|_blank{/vsig_l*} - (without the asterisks)


If you have questions or suggestions, please use the comment-function.

If you use this extensions, please post a rating and a review at extensions.joomla.org. Furthermore I appreciate everyone, supporting me with a link back to www.bretteleben.de on his/her website. The extension itself does not produce any hidden links, eastereggs or whatever.

If you need additional features or customizations for your project that exceed the scope of support offered through the comments, you are invited to submit your requirements specification and the planned budget by email (menu item "Contact" in the menu at the top).

Last Updated on Sunday, 06 June 2010 13:05
 
Comments (6)
very simple image gallery
6 Saturday, 15 May 2010 06:02
cyril prabhu

Respected Sir,


please send very simple image gallery sample04 code send me


my mail id cyril.prabhu5gmail.com

@cyril prabhu
Saturday, 15 May 2010 11:39
A. Berger

Hi Cyril!

There is nothing to send. You may download the plugin at the page "Very Simple Image Gallery", insrtall it and use the settings explained on this page.

Best regards
Andreas

@Christian
5 Thursday, 31 December 2009 06:10
A. Berger
Hallo Christian!

Das Plugin zeigt jeweils die Bilder eines Ordners (natürlich kann für jede Galerie ein eigener Ordner festgelegt werden), wie Du die Ordner im Media Manager untergliederst ist dem Plugin dabei egal.
Wenn es Dir darum geht, die Bilder aller Ordner in einer einheitlichen Galerie-Oberfläche zu verwalten (also die Bilder der Hauptinhalt sind und nicht Teil eines Artikels), dann bist Du vermutlich mit einer Galerie-Komponente besser bedient als mit einem Galerie-Plugin wie der Very Simple Image Gallery. Sowohl auf joomlaos.de als auch auf extensions.joomla.org findest Du einige davon.

Gruß
Andreas
Ordnerstruktur
4 Wednesday, 30 December 2009 11:27
Christian
Hi!

Ist es eigentlich möglich das man eine Ordnerstruktur für die Galerien zu bauen?
Sprich:
->Bilder
-->Galery1
-->Galery2
-->Galery3
usw.

Sonst wird es bei mehreren Galerien unübersichtlich denke ich.

Danke für die Tolle Gallery

lg Christian
Thumbnails links
3 Wednesday, 25 November 2009 14:08
McAce
wirklich schade aber Danke für die Auskunft
@McAce
2 Tuesday, 24 November 2009 22:00
A. Berger
Hallo McAce!

Ich bedaure, aber bislang ist das ohne ein massives patchen des Plugins schlicht nicht möglich.

Gruß
Andreas
Thumbnails links vom Hauptbild
1 Tuesday, 24 November 2009 19:23
McAce
Erstmal ein dickes Danke für diese tollen Gallerien.

Könnten sie mir einen Tipp geben wie ich es hinbekomme das die Thumbnails nicht rechts auf der Seite stehen sondern links.

Das wäre wirklich klasse

Vielen Dank

McAce
English
Panoramic Image Viewer
AddThis Social Bookmark Button
Who's Online
We have 32 guests online
Latest Items