2010-08-01
Simple Picture Slideshow Plugin Installation and Usage
Written by Andreas Berger   
Thursday, 08 January 2009 17:34

A step for step tutorial on how to install and use the bretteleben.de Simple Picture Slideshow Plugin.

Installation

1.) Log into your administration interface


2.) Go to "Extensions" > "Install/Uninstall"


3.) Select the Package File with the bretteleben.de Simple Picture Slideshow Plugin


4.) Click "Upload file & Install"


5.) If everything worked fine, you get the message "Install Plugin Success"


6.) Select "Extensions" > "Plugin Manager"


7.) Find the "bretteleben.de Simple Picture Slideshow" and click it


8.) The first section of parameters controls the layout of the slideshow.
The first parameter is the width of your slideshow in pixel.


9.) The next parameter is the height of your slideshow in pixel.



Pictures larger than set here are scaled by the visitors browser according to these settings. Smaller pictures are not enlarged. If possible you should offline scale your pictures to the width and height they will display because scaling by the visitors browser results in a loss of quality and it increases the time your page takes to load without any additional benefit for your visitor.


10.) The next parameter sets the position of the gallery within the available space. You may choose between left - centered - right, float left and float right. The last two options allow the gallery to get wrapped by your text. They also increase the dependence from the used template and will not always show the desired results!


11.) Background Color: The background color of your slideshow is of importance if you use pictures of different size or pictures with proportions different from the settings above. It prevents the next Pictures to be visible below the current one. Set the hexadecimal color-value without the leading pound key (#), e.g. ffffff for white.


12.) "Sort Order" sets the order the images are shown. You may choose between alphabetic ascending, alphabetic descending, old to new and new to old (both use "last changed" not "created"!) and random.


13.) Next sections sets the values for the animation.
"Time to show" is the time in seconds a picture is shown between two fades.


14.) "Duration of Fading" is the time you set for the fading itself, again in seconds. In most cases 1 will do fine.


15.) The plugin moves transparency from 100% to 0% (or vice versa). "Fading steps" sets the stepwidth used. A value of 5 means, that the transparency is changed in 5 steps, each of 20%. 50 sets 50 steps, each of 2%. The higher this value the more smooth the fading but also the more computationally intensive. Setting a to high value when using large images may cause the set times to be excessed. Just try out.


16.) The next parameter sets if your slideshow starts automatically on pageload.


This option may be activated regardless of displaying controls. They do not influence this feature.


17.) The next section is about the optional control elements.
The first parameter sets if you want to show them at all.


18.) The second parameter sets which elements to show, if they get shown left or right and in what sort order.



This all is set with a combination of the values 1, 2, 3, 4, 5, and the minus sign "-".
1 ... the Counter
2 ... Link/Button Start
3 ... Link/Button Stop
4 ... Link/Button Back
5 ... Link/Button Next
'-' ... the minus sign splits the elements into left and right. If omitted, all elements are shown at the right.

Samples:
1-2345 . . . . the counter at the left, the four links/buttons at the right
415 . . . . back-button/link, counter, next-button/link, all of them at the right side (no minus sign)
415- . . . . same elements again, this time all at the left side


19.) The next 4 parameters set what you want to use for the links.


- Left empty, the plugin shows the automatically installed default buttons.

- Insert any text and the text is shown.

- Instead of text links you may also use buttons. Just insert the name of the image-file you want to be used (including the suffix). The plugin detects .jpg, .gif and .png and searches for the corresponding file in the folder "/images/stories/besps_buttons". If the file exists, the image is shown.


20.) If you activate "Show captions?", you have the possibility to add Title and Text to your images.


Even when deactivated, Captions can be used to replace the (otherwise used by default) image filename as ALT-, TITLE-text.


21.) "Position of Captions" sets if the captions (and text) are shown crossfading over the lower part of the image or below the image.


22.) "Use links?" allows - if activated - to set links for the images.


23.) Preload

This parameter offers the possibility to reduce the time, the page takes to load by replacing pictures with one small dummy-picture. This "besps.png" comes with the plugin and is stored in the folder /plugins/content/plugin_besps automatically. On pageload the script replaces this dummy with the actual images.

The default setting of the plugin is to load all pictures with your page. If you set a number larger than 3 (the script needs at least 3 pictures to start), the pictures beyond this number will get loaded by the JavaScript on pageload.

Samples:
Your folder contains 10 pictures, the parameter is empty, all pictures are loaded with the page.
Your folder contains 10 pictures, the parameter is set to 3, 3 pictures are loaded with the page, 7 by script afterwards.
Your folder contains 10 pictures, the parameter is set to 5, 5 pictures are loaded with the page, 5 by script afterwards. ...

The feature is rather experimental at the moment, the JavaScript does not check if it is showing the real image or the dummy. If you use it, please do extended testing on it. Records about your experiences are most welcome!


24.) The parameter "Foldername as ID" gives you the possibility to set the name of the folder, from which the images are taken, as identity of the surrounding div-container of the slideshow. (id="foldername").



The plugin contains in the folder (Joomla-Installation)/plugins/content/plugin_besps the style sheet besps.css. This style sheet is loaded after the css-settings the plugin writes to the head-section of the page and gives you the possibility to overwrite every single setting. This works anyway and applies to all "simple picture slideshows" on your site.
Setting a unique identity gives you furthermore the possibility to use this identity as a CSS-Selector and use individual styles for one single slideshow .


25.) Activate the plugin


26.) Click "Save" - done


 

Usage


Next we need the images. We upload them to a folder in (Joomla-Installation)/images/stories.


1.) Go to "Site" > "Media Manager"


2.) Navigate to the folder "Media" > "stories"


3.) Create a new subfolder for your images. In this sample I choose the name "simpleslideshow"


4.) Navigate to the new folder.


5.) ... and upload your images to it. The plugin accepts images of type ".jpg", ".gif" and ".png".


6.) optional: If you want to display custom image-buttons for your control-elements, we have to take care of these images too. So, again navigate to the folder "Media" > "stories".

 

And create a folder called besps_buttons. This is the place the plugin looks for the images you set in point 19 (Installation).

And therefore we upload them here.

Notice: The plugin does NOT create this folder automatically.


7.) Next, go to "Article Manager" and open the article you want to display the gallery.


8.) At the place you want the slideshow to be shown insert the code to call it.

The code consists of the call {*besps}{/besps*} (without the asterisks) and contains the name of the folder with your images. The path to this folder "/images/stories" is added by the plugin automatically and must not be inserted.

The complete call in our sample would look such as:

{*besps}simpleslideshow{/besps*} - without the asterisks

To use a folder within a folder, the path below "/images/stories/" is used, e. g. to use the folder /images/stories/folder/subfolder" the call would look such as:

{*besps}folder/subfolder{/besps*} - without the asterisks

In general that´s it and the slideshow is ready to go.

How to show title and text with our images or modify the current slideshow from the default-settings in the backend, find out in the second part of this howto (link at the end of the page).


9.) Save - done!


A survey of the possibilities to call, extend and modify galleries with the code in the content item: Howto Plugin Code


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 Monday, 12 April 2010 21:28
 
Comments (344)
Bilder mit Text?
344 Thursday, 15 July 2010 15:18
E. Steuck

Wie kann ich ein Bild der Slideshow mit Titel und Text versehen?

@E. Steuck
Wednesday, 21 July 2010 15:38
A. Berger

Hallo E. Steuck!

Mit dem Feature "Captions", beschrieben auf der Seite "Anleitung Plugin Code" (Menü links).

Gruß
Andreas Berger

Slide show
343 Tuesday, 06 July 2010 23:30
Billy Perrino

Your ss works great, I have tried others but yours was the easiest to install and modify.

Thanks.
rpmcomp.com

Display in modul position?
342 Friday, 02 July 2010 13:39
Martin

First of all, great job, such a good and simple slideshow! I've been looking around a lot, and this is the best one I've found!

I got it to work right away, but my question is:
Is it possible to display the slideshow in a modul position, instead of in the main component so it doesn't have to be in an article?
(I've tried to put the path into a "Custum HTML" modul, but it didn't work.)
I would like to put it next to a vertical menu, on the top of the webpage, and then with my articles under the slideshow.
(I know I could put the main component next to the vertical menu, insert the path to the slideshow and then write the article under it, but it creates some problems for other pages.)

I'm looking very much forward to your answer! Thanks again for a great slideshow!
Martin

@Martin
Tuesday, 06 July 2010 22:46
A. Berger

Hi Martin!

The page "FAQ&Troubleshooting" (menu at the left) lists 2 extensions that allow the plugin to be used this way.

Best regards
Andreas

use in virtuemart
341 Thursday, 01 July 2010 05:57
Jack

I'd like to use this simple picture slideshow inside virtuemart product description, but it seems to be failed, how can this be done? thank you in advance.

@Jack
Tuesday, 06 July 2010 22:50
A. Berger

Hi Jack!

The plugin is developed with the component com_content (the component that shows the main content of a page in Joomla!) in mind and I confess, I haven't tested my plugins with Virtuemart up till now. If it does not work at all within the content of Virtuemart, the most likely reason is, that this component does not fire the events, that execute the plugin. If it does work but e.g. the layout and/or script is not present, the most likely reason is, that the component (Virtuemart) does not allow the plugin to add information to the Joomla Head-Data (as the component com_content does).

Anyway, you could either check the support forums of Virtuemart if this problem (using content-plugins) has already been discussed or have a look at the extension specific extensions at extensions.joomla.org, that also list extensions explicitly developed to be used with Virtuemart.

Best regards
Andreas

Tolle slideshow
340 Monday, 28 June 2010 10:52
Rudolf Aigner

Hi,

für das wirklich gelungene Slideshow-Tool möchte ich meine Anerkennung aussprechen.

Vielen Dank
Rudolf Aigner

First letter first time problem
339 Friday, 25 June 2010 12:46
Ognjenko

Dear Andreas, thank you for this fantastic slideshow. I have tried lot of them, but only yours works as it should - STABLE and reliable. I really enjoy working with parameter overides.
I have one question though: on all of my slideshow it happens that when first time started, on the first image, first letter jumps at the row above the others. Please take a look at http://84.243.208.241/~kozomara/index.php?option=com_content&view=article&id=94&Itemid=79 to see what I mean.
So, is there a way to fix that?

Thank you very much
Ognjenko

@Ognjenko
Tuesday, 06 July 2010 21:42
A. Berger

Hi Ognjenko!

As said, please check the purpose of the script and if there are possibilities to modify it. Does it belong to the template? If so, is there a possibility to take influence from the backend? Is it part of an extension? If yes, what extension? What does this extension do? What parameters does the configuration panel of this extension offer? Is it possible that one of these parameters has influence on your problem? Have you tried them? Have you asked the developer of the template/extension if the problem or a similar one already occured? If so, is there a way around? If no, what could be a way around? Is there a support forum which could contain the answers you are looking for.

Please don't get me wrong, but work down the given possibilities before trying to patch a template/extension and go one with a landmine that will blow up with the next update.

Best regards
Andreas

First letter first time problem
Tuesday, 06 July 2010 09:42
Ognjenko

Obviously it is some joomlart script with lot of stuff inside. I am no expert of javascript, but if yuo can pinpoint the exact function that makes troubles that would do?

Thank you very much

@Ognjenko
Monday, 28 June 2010 20:21
A. Berger

Hi Ognjenko!

I cannot tell you how to fix this, but I can tell you what causes it: It is the JavaScript "ja.js" you are using (check the head of the page). Maybe you want to check what purpose this script has and if there are possibilities to modify/configure it to prevent this from happening.

Best regards
Andreas

Wonderful Joomla! Plugin
338 Thursday, 24 June 2010 22:34
Franco

Your program is easy to install, easy to adapt, full of possibilities, and VERY SMART. It's a pleasure to use it.

Thanks.
Franco

Auf jeder Webseite im Header eine individuelle Slideshow konfigurieren
337 Wednesday, 23 June 2010 10:07
Ben

Lieber Andreas

Vorweg vielen Dank für die tolle Extension!

Um die Simple Picture Slideshow im Header meiner Website platzieren zu können, musste ich zunächst das Modul "Plugin Modul" einrichten. Das Tandem funktioniert einwandfrei.
Nun möchte ich aber die Bilder im Header für jede Seite individuell einrichten und dabei jedes Mal die Bilderreihenfolge wie auch die Einblenddauer der Bilder bestimmen können. In der Anleitung unter Punkt 24 habe ich verstanden, dass ich den Ordnername als ID definieren kann, mir ist aber noch nicht klar, wo ich dann die Bilderfolge und Einblenddauer im Header für meine (z.B.) zweite Webseite bestimmen kann, die sich ja vom Header in der ersten Webseite unterscheiden soll?

Herzlichen Dank für Deine Hilfe!
Ben


 

@Ben
Thursday, 08 July 2010 21:29
A. Berger

Hallo Ben!

Schön zu hören, dass jetzt alles klappt und Danke für Deine großzügige Spende! Wenn Du etwas brauchst - jederzeit.

Gruß
Andreas

Danke: Auf jeder Webseite im Header eine individuelle Slideshow konfigurieren
Thursday, 08 July 2010 14:09
Ben

Lieber Andreas


Okay, nun habe ich alles hingekriegt und bin noch mehr begeistert als zuvor. Tolle Extension! Herzlichen Dank! Wenn ich es auch nicht für mich persönlich brauchen kann (noch nicht) ist es mir eine Spende wert!


Beste Grüsse
Benza

@Ben
Wednesday, 07 July 2010 21:51
A. Berger

Hallo Ben!

Sorry für die späte Antwort! Zu Deiner Frage: Der Aufruf der Sldieshow ist IMMER {*besps}{/besps} (ohne Stern) und eben nicht {banners2}{/banners2} (oder wie auch immer). Nur der erste Aufruf wird vom Plugin erkannt und bearbeitet.

Gruß
Andreas

3 Auf jeder Webseite im Header eine individuelle Slideshow konfigurieren
Tuesday, 29 June 2010 08:51
Ben

Hallo Andreas


Ich denke schon, dass ich Dich richtig verstanden. Das Modul heisst "Plugin Module" (der Name kann verwirren) und nur dieses habe ich dupliziert und nicht Dein Plugin. Wenn ich es richtig in Erinnerung habe, dann hast Du jemandem dieses Modul empfohlen, um Dein Plugin an einer Modulposition erscheinen zu lassen. Daher ging ich davon aus, dass Du mir bei meinem Problem, das ich in der letzten Anfrage genau geschildert habe helfen kannst. Kannst Du da bitte nochmals hineinlesen unter Berücksichtigung, dass ich das Modul und nicht das Plugin dupliziert habe.


Vielen Dank!
Ben

@Ben
Monday, 28 June 2010 20:06
A. Berger

Hallo Ben!

Da haben wir uns missverstanden. Das Plugin wird NICHT dupliziert, nur von dem Modul, das Du verwendest um das Plugin an einer Moduloposition anzuzeigen, von dem erstellst Du verschiedene Instanzen. Bei Modulen geht das ganz einfach, indem Du das Modul im Modulmanager aktivierst (ganz links Haken setzen) und dann in der Menüleiste oben auf "Kopieren" klickst.

In dieser Kopie wählst Du dann die gewünschte Seite aus und verwendest Parameter Ovberrides um die Einstellungen des Plugins gegenüber den Standardeinstellungen im Backend des Plugins wie gewünscht abzuändern. Wie gesagt: Das Plugin wird dafür NICHT kopiert, Du überschreibst nur im Code die Einstellungen im Backend für diese eine Slideshow.

Gruß
Andreas

2. Auf jeder Webseite im Header eine individuelle Slideshow konfigurieren
Friday, 25 June 2010 11:44
Ben

Nochmals, danke für Deine Antwort!

Habe alle Instruktionen befolgt, erhalte aber statt der Bilder folgende Zeile im Modulbereich: {banners2}banners2|sdur=20|sort=0{/banners2}

Um meine Schritte nachvollziehen zu können:

1. Habe auf der gleichen Ebene neben dem banners-Ordner einen weiteren eingerichtet mit dem Namen banners2 und die gewünschten Bilder hineingelegt.

2. Habe dann das Plugin Module dupliziert, ihm einen neun Namen gegeben, die Menü-Punkte selektiert und in den folgenden zwei Feldern folgende Einträge gemacht:

- Plugin to execute: banners2
- Command to insert: banners2|sdur=20|sort=0

=> Ich hatte auch als Variante die "Additional Parameters" aktiviert und da wie vorgegeben folgende Parameter-Form eingegeben: sdur=[20] sort=[0] aber auch dieser Versuch hat keine Bilder erscheinen lassen.
Hast Du eine Ahnung, wie ich das Problem lösen kann?

Dank im Voraus
Gruss Ben

@Ben
Wednesday, 23 June 2010 20:59
A. Berger

Hallo Ben!

Schau Dir auf der nächsten Seite (Anleitung Plugin Code) das Feature "Parameter Overrides" an. Das Modul, das Du verwendest kannst Du ja beliebig oft kopieren und für einzelne Seiten einsetzen und das Feature "Parameter Overrides" bietet Dir die Möglichkeit, durch die Parameter in Aufruf des Plugins jede einzelne Slideshow unabhängig von den im Backend des Plugins getroffenen Einstellungen zu konfigureiren.

Gruß
Andreas

only the first slide shows the caption
336 Sunday, 13 June 2010 21:49
John Collier

I created the slide show along with captions.  The slides show correctly but only the caption to the first slide shows and none of the others.  Can I control the sequence of the slides without renaming the images.  I tried to do it in the coding but the image file seems to be the override.

Here is the html coding for the page:

A guided tour of the Cultural Center

{*besps}tour{/besps}
{*besps_c}0|bld1.jpg||Approaching the facility at 540 NE Hwy 101 in Lincoln City{/besps_c}
{*besps_c}0|bld3.jpg||Par
[...]
logo.{/besps_c}


 

@John Collier
Monday, 14 June 2010 19:50
A. Berger

Hi John!

The code for your captions (I shortened it and added the asterisks to prevent it from getting executed here) looks fine. Please check the image file names if they correspond to the ones in your code. If they do. please provide a link to the page, I will have a look at it.

About the sort order, the plugin offers different options from the backend or by parameter override (refer to tutorial).

Best regards
Andreas

Imagefolder
335 Friday, 11 June 2010 21:26
Christopher

I have a big suggestion:


it is not very handy to hardcode the imagepath!


e.g. i defined another media-path and another image-path the preconfigured by joomla. and now, to use your extension i have to change the media-path. that is not very useful and a big minus for your extension! i would prefer that you change this in the next version.


now i changed the sourcecode to use another path, but this is not practicable for me and especially not for users how dont now php.


greez
christopher

@Christopher
Monday, 14 June 2010 19:24
A. Berger

Hi Christopher!

... as you command :)

The feature is already integrated in the Very Simple Image Gallery and will become part of all of my plugins.
As for now: There is no need to change the default media path because in line 33 of /plugins/content/besps.php you can already set the path for the image root folder.

Best regards
Andreas

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