Joomla: Very Simple Image Gallery |
Geschrieben von: Andreas Berger |
Samstag, den 19. April 2008 um 07:47 Uhr |
Das bretteleben.de "Very Simple Image Gallery" Plugin für Joomla!2.5 und Joomla!3.1 ist ein Downgrade des genialen Plugins "Simple Image Gallery" von Fotis Evangelou und George Chouliaras zu einer "Web 1.0" Galerie. Die Bilder werden in meiner modifizierten Version nicht in einer Javascript-Lightbox angezeigt sondern das Plugin erzeugt ein grosses Bild mit darunter angeordneten Thumbnails. Features:- unterstützte Bildformate .jpg, .png und .gif Neu in Version 1.6.8:- Sprach-Datei Installation und VerwendungEine Schritt für Schritt Anleitung zu Installation und Verwendung findet sich auf der Seite Anleitung Plugin . DemoEinschränkungen/VorschauIn der aktuellen Version des Plugins ist ein Script für den gesamten Ablauf zuständig. Das kann bei sehr großen Originalbildern beim Skalieren dazu führen, dass die maximale Laufzeit für Scripts überschritten wird und PHP das Script mit einem Fehler beendet. In diesem Fall reicht es, die Seite ein oder zwei mal neu aufzurufen. Dann sind alle Bilder skaliert. Das tritt nur bei der Einrichtung einer Galerie auf, den Seitenbesucher trifft das nicht. In kommenden Versionen des Plugins werde ich die Funktionalität des Skalierens wieder in eine externe Datei auslagern. VoraussetzungenDas Plugin verwendet die PHP GD library zur Generierung der Bilder und Thumbnails. KompatibilitätDas Plugin ist unter Joomla! 2.5 und 3.1 erfolgreich getestet, das Zusammenspiel mit den verschiedensten anderen Erweiterungen mag aber Probleme mit sich bringen. Ich empfehle einen Testlauf vor dem Einsatz auf einer aktiven Seite und stehe für Fragen und Anregungen immer gerne zur Verfügung. LizenzDen Vorgaben der Lizenz des Originals, der "Simple Image Gallery", folgend ist das Plugin unter der GNU Public License (www.gnu.org/copyleft/gpl.html) lizensiert. aktuelle Version Joomla!2.5, und 3.1.: 1.6.8- behebt einen Fehler mit PHP5.4 SupportFür Fragen und Anregungen steht die Kommentarfunktion zur Verfügung. Bitte geben Sie bei Ihrer Frage die verwendete Joomla! Version an und posten Sie bei Problemen - soweit möglich - einen Link zur betroffenen Seite. DownloadDas ZIP-Archiv enthält das Plugin, mit dem Download erklären Sie sich mit den Bestimmungen der GNU Public License einverstanden. Das ZIP-Archiv kann für Update und Neuinstallation verwendet werden. Bitte verwenden Sie das für Ihre Joomla! Installation passende Archiv. _J2.5 für Joomla! 2.5.x und _J3.1 für Joomla! 3.x
|
Zuletzt aktualisiert am Freitag, den 16. August 2013 um 07:29 Uhr |
Hallo,
habe die VSIG in Joomla 1.5.7 installiert.
Eigentlich funktioniert auch alles super, allerdings ist die Bildqualität bei weitem nicht so wie am Originalbild.
Hier ein beispiel:
http://www.aviation-media.com/index.php?option=com_content&view=article&id=58:izmir&catid=3:reports-militaer&Itemid=35
Vielleicht habt ihr einen Tip, danke im voraus!
Alex
Kann es daran liegen das der Rahmen hinzugefügt wird?
Die anderen Fotos auf der Page sind ja auch nicht so schlecht.... eventuell liegts gar nicht an GD sondern weils ich nicht richtig mache...
wenn ich ein bild in 700xXXX hochlade und die breite in der VSIG als 700 eingebe kommt das bild nämlich nicht als 700xXXX raus...
vielleicht mache ich ja auch irgendetwas falsch?
lg + danke
alex
Hallo Alex!
Ja, das Skalieren von Bildern mittles der GD Erweiterung von PHP ist immer mit einem gewissen Qualitätsverlust verbunden. Darum kommt man meines Wissens nicht herum.
Trotzdem würde ich - auch wenn es Dir widersinnig erscheint - die Einstellung für die Qualität von 100% auf maximal 95% (eher tiefer) heruntersetzen. Der Qualitätsunterschied zwischen 95% und 100% ist minimal, der Unterschied in der Dateigröße nicht. Bei 100% sind die skalierten Bilder teilweise sogar größer als die Originale.
Ich würde da - wobei die Bilder für mich als Normalverbraucher ohnehin absolut in Ordnung aussehen - der Geschwindigkeit gegenüber der absoluten Brillianz den Vorzug geben. Halb so große und vielleicht nicht ganz so brilliante Bilder werden langfristig doppelt so viele Leute sehen wie "schwergewichtige" gestochen scharfe Bilder.
Gruß
Andreas
Don't working!
I have configured all well, but I see only this:
Very Simple Image Gallery:
Could not find folder /home/..................
Folder of course exists, I'm using it in a few articles.
Thanks Andreas, I checked HTML and removed P from code and now is working. Thanks again! :)
Hi Castor!
If there is no typo in the path/foldername and images from within this folder are showing in other locations of your site, please open the article and check, if the code for the gallery is fragmented with HTML-tags (e.g. SPAN). If so - remove them. If this is not the problem, please provide a link to the page, I will have a look at it.
Best regards
Andreas
Hello,
I am trying to display captions. When I use {*vsig}Cafe-CanteenChair{/vsig*} the images display no problem.
The moment I use the Caption Tags as described {*vsig_c}Cafe-CanteenChair{/vsig_c*} I see no images and just the tag displays on the page.
Can you please help me?
Hi Daniel!
The code for captions is used in addition to the initial call for the gallery.
Sample:
{*vsig}Cafe-CanteenChair{/vsig*}
{*vsig_c}0|image1.jpg|title1|text1{/vsig_c*}
{*vsig_c}0|image2.jpg|title2|text2{/vsig_c*}
{*vsig_c}0|image3.jpg|title3|text3{/vsig_c*} ...without the asterisks
The page "Howto Plugin Code" (find the link in the menu at the left) explains the feature in detail.
Best regards
Andreas
Hi This is Sudhir,
I want to move thumbnails to top of main image
I have uploaded example image @ www.3dmagicmodels.com/gallery.JPG
i have done this with firebug but unable to do in .php file
Please help me
Thanks,
Hi,
i am not able to move thumbnails to top of main image
i know i cant do it but you can do it
jut add a property at backend
Thumbnails are shown: Top of main image
it will be fourth property and just opposite of below the main image
Pls...pls..pls
Thank You.
Thank You
Hi Suhdir!
I'm sorry but this is out of the scope of what I can offer as free support here. I would suggest to either check extensions.joomla.org for an extensions that provides the respective layout out of the box - or to find somebody else that patches the plugin for you. The GPL license explicitly covers such modifications.
Best regards
Andreas
Hi Andreas
Thank you for reply
I am not able to attempt to patch vsig.php
please help me to do this
Thank You.
Hi Sudhir!
This layout is not part of the plugin but with the attempt to patch vsig.php you are definitely at the right way.
Best regards
Andreas
Thanks for the easy to use Very Simple Image Gallery. I'm verry happy withe it.
Tanks.
Hi
Great plugin :) Could you help me to change the color of the captions. They are inside "outside" div-tag, but if i apply color:red; to the style - no effect. Please advise.
Thanks
Serg
Hi Mike!
How about editing the file offline?
Best regards
Andreas
Every time I try to edit the css my cpanel won't allow me. Then when I try to change the permissions to 777 it just changes them back to 644. Help.
Hi Serg!
To modify the color of the captions, open the stylesheet /plugins/content/plugin_vsig/vsig.css.
The color for the captions in general is set in the selector .vsig_top div span {}.
In general you are done now.
If needed, the color for the second part of the captions (the text part) can be set different from the title line in the selector .vsig_top div span + span {}.
If there are links in your captions you will have to modify the selectors:
.vsig span a, .vsig span a:link, .vsig span a:visited, ... and so on
and:
.vsig span + span a, .vsig span + span a:link, ... and so on - too.
Best regards
Andreas
Hi, first of all, thank you for an excellent plugin.
I'm wondering if there is a way to install the plugin by coping the files by ftp (with out using the install extension of Joomla). It can be grate if you could tell me the locations were I need to put them on.
I've tried by coping the extract of the zip file into the dir: plugins/content/plugin_vsig, but with no luck when I open the plugin manager there is no sign of the plugin.
I'm using joomla 1.5
Thank you.
David
Hi David!
Instead of trying to bypass the Joomla! installer I would rather try to properly configure the installation/server. I assume you have problems using the installer and therefore are looking for alternatives. If so - please have a look at this page (http://docs.joomla.org/Why_can't_you_install_any_extensions%3F), it deals with the most common reasons for these kind of problems.
Best regards
Andreas
Hello:
I have been looking all over on how to add captions to the images. How do you do this? I have it turned on but I don't know where it gets the captions from or where I can add them to each image.
Also, it would be perfect if we can get captions right from exif info :-)
Thanks.
Hi Justin!
Captions are set with additional lines of code directly in the article that contains the gallery. Have a look at the page "Howto Plugin Code" (find the link in the menu at the left), it explains how to use this feature.
Best regards
Andreas
i want to have to portfolio pages, 2 different article pages, such as photo gallery 1 and then photo gallery 2.
how do I set this up with the software?
thanks
Hi joann!
Let's assume that you are using Joomla!1.5 and your photos are uploaded to /images/stories/photos1 and /images/stories/photos2.
1.) Install the plugin
2.) Activate the plugin
3.) Insert {*vsig}photos1{/vsig*} (without the asterisks) in the article you want to show gallery 1
4.) Insert {*vsig}photos2{/vsig*} (without the asterisks) in the article you want to show gallery 2
... done
Btw., the pages "Howto Plugin" and "Howto Plugin Code" (find the links in the menu at the left) offer detailed explanations.
Best regards
Andreas
I have installed the module fine and then uploaded my images into a folder when I refresh the page they should appear on I get this message..
Warning: Division by zero in /home/content/26/7794526/html/plugins/content/verysimpleimagegallery/files/verysimpleimagegalleryhelper.php on line 126
Warning: Division by zero in /home/content/26/7794526/html/plugins/content/verysimpleimagegallery/files/verysimpleimagegalleryhelper.php on line 133
Warning: Division by zero in /home/content/26/7794526/html/plugins/content/verysimpleimagegallery/files/verysimpleimagegalleryhelper.php on line 133
help
Thanks
Hi Sally!
The warnings indicate that at the least one of the images has a height of zero - or that PHP is not able to determine the height of the image.
Please open the images in the folder directly from your browsers address bar (http://YOURDOMAIN.COM/images/PATH_TO_YOUR_FOLDER/IMAGE.JPG) to check if they got corrupted during upload.
If this is not the reason, please provide a link to the page plus the path to the folder plus a list of the images within. I will have a look at it.
Best regards
Andreas