|
ERROR: Fatal error: Call to undefined function imagecreatefromjpeg() oder imagecreatefromgif() oder imagecreatefrompng()
ERROR: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3264 bytes)
PROBLEM: Nur der Code {becssg}ordner{/becssg*} wird angezeigt - Darstellung in Modul
ERROR: Fatal error: Call to undefined function imagecreatefromjpeg() oder imagecreatefromgif() oder imagecreatefrompng()
Ab Version 1.3.5 tritt diese Fehlermeldung nicht mehr auf. Werden an Stelle der Thumbnails nur die Alternativtexte angezeigt, dann überprüfen Sie bitte im Konfigurationspanel des Plugins den Status der GDlib.
Die GD Library, kurz GD oder GDlib, ist eine Programmbibliothek zur dynamischen Erzeugung und Manipulation von Grafiken und eine der verbreitesten Erweiterungen von PHP. Die Very Simple Image Gallery greift auf diese Erweiterung zu, um die Vorschaubilder zu erzeugen. Um über die Hinweise im Konfigurationspanel des Plugins hinaus zu überprüfen ob und wenn ja in welchem Umfang diese Erweiterung am Server zur Verfügung steht, ruft man im Joomla! Administrationsinterface den Menüpunkt Hilfe > Systeminfo >PHP-Information auf. Auf dieser Seite sucht man nach "gd". Im Optimalfall findet sich ein Abschnitt mit folgendem oder ähnlichem Inhalt:
gd
- GD Support enabled
- GD Version bundled (2.0.34 compatible)
- FreeType Support enabled
- FreeType Linkage with freetype
- FreeType Version 2.1.9
- T1Lib Support enabled
- GIF Read Support enabled
- GIF Create Support enabled
- JPG Support enabled
- PNG Support enabled
- WBMP Support enabled
- XBM Support enabled
Die erste Zeile zeigt an, dass die Erweiterung aktiviert ist, die zweite Zeile gibt Auskunft über die installierte Version. Danach folgen Angaben über zur Verfügung stehende Funktionalitäten und unterstützte Bildformate. Für die CSS Gallery sind die Formate GIF, JPG und PNG von Bedeutung. Ist die GDlib nicht aktiviert oder werden diese Bildformate nicht unterstützt, dann sollte man das (in der lokalen Testumgebung) ändern oder (am Webserver) den Webhoster darauf hin ansprechen, ob eine Aktivierung möglich ist. Ohne diese Erweiterung ist die CSS Gallery nicht einsetzbar.
ERROR: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3264 bytes)
Tritt beim Aufruf der Galerie diese Fehlermeldung auf (die angegebenes Bytes variieren), dann bedeutet das, dass die Erzeugung der skalierten Hauptbilder oder der Thumbnails aus den Originalbildern mehr Arbeitsspeicher in Anspruch nimmt, als der Webserver einem PHP Script zur Verfügung stellt. Man könnte nun entweder (in der lokalen Testumgebung) den Speichergrenzwert hochsetzen oder (am Webserver) den Webhoster darum ersuchen, den Account diesbezüglich besser auszustatten, doch in 99% der Fälle ist die Lösung einfach: Kleinere Bilder!
Vielfach werden Bilder in Auflösungen hochgeladen, die für die Darstellung auf einer Webseite schlicht überdimensioniert sind. In einem üblichen Joomla! Template verbleiben für die Darstellung einer Galerie im Kontext des Inhalts vielleicht 600 bis allerhöchstens 800 Pixel an Breite. Bilder dieses Formats lassen sich - je nach Bild - bereits mit 50 bis 100 Kilobyte in ausgezeichneter Qualität darstellen. Lädt man Bilder direkt von der Digitalkamera hoch, dann haben diese aber Formate von bis zu 3000 Pixel Breite und sind teilweise bis zu 3 oder 4 Megabyte groß. Die Nachteile großer (Dateigröße) Bilder liegen auf der Hand: Der Upload dauert wesentlich länger, man braucht mehr Platz am Server und man verschreckt seine Besucher, denn kaum jemand ist gewillt, auf das Laden eines Bildes von 3 MB oder mehr zu warten. Dazu kommt, dass das Skalieren der Bilder mit einem geeigneten Programm (z.B.: GIMP) wesentlich bessere Resultate bringt, als wenn man diese Aufgabe dem Browser überlässt.
Im Optimalfall skaliert man also die Bilder offline und lädt sie in einem Format hoch, das entweder exakt dem Format entspricht, in dem sie dann angezeigt werden (wenn mand das bereits ausprobiert hat) oder ein wenig größer (ein wenig größer deshalb, weil Browser beim hinaufskalieren noch schlechtere Ergebnisse bringen als beim Herunterskalieren).
Ach ja, die Fehlermeldung verschwindet dann übrigens auch.
PROBLEM: Nur der Code {becssg}ordner{/becssg*} wird angezeigt - Darstellung in Modul
Wird im Frontend keine Galerie sondern nur der Aufruf - {becssg}ordner{/becssg*} (ohne Stern) - angezeigt, dann überzeugt man sich zuerst, dass das Plugin auch aktiviert ist! Ist das der Fall, dann liegt das Problem in vielen Fällen darin, dass die Galerie nicht im Kontext des Hauptinhaltes angezeigt werden soll, sondern an einer Modulposition. Nicht alle Erweiterungen, die anbieten eigenen Content an einer Modulposition anzuzeigen unterstützen die volle Funktionalität des Joomla! Frameworks und damit die Funktionen die das Plugin benötigt um fehlerlos zu arbeiten. Von zumindest zwei Erweiterungen gibt es bislang aber Rückmeldungen von Nutzern, die bestätigen, dass diese Funktionalität bereitgestellt wird.
Eines ist das Modul "Module: Content with Plugins", gelistet bei extensions.joomla.org unter der Rubrik "News Display" > "Articles Embed". Das Andere ist das Modul "Plugin in Module", gelistet bei extensions.joomla.org unter der Rubrik "Core Enhancements" > "Embed & Include".
Fü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.
Wer für sein Projekt zusätzliche Funktionen oder Adaptierungen über die Möglichkeiten des hier gebotenen Supports benötigt, der ist eingeladen, mich mit einer Beschreibung der gewünschten Leistungen und dem angedachten Budget per Email zu kontaktieren (Menüpunkt "Kontakt" im Topmenü).
Wer die Erweiterung nutzt den bitte ich, sie auf extensions.joomla.org zu bewerten und einen Erfahrungsbericht zu posten. |
You're right in that in the original this parameter is not set, and in the 1.7 version it is set (although originally it wasn't by I tried altering most parameters to get it to work). I tried switching it back to 'no' but this doesn't help.
Many thanks for looking at this problem
Kind regards, Dominic
Hi Dominic!
The only thing I can offer at the moment is to put the problem aside and post a link as soon as the site is available online.
Best regards
Andreas
Thanks for the reply.
I'm not sure it is the template as I tried it with two of the other J1.7 templates which also had the same problem.
I had a look in firebug at the output - specifically the computed CSS styling for area for the photos. In the J1.5 version that works, this has a background image which is set. In the J1.7 version the background image is set to none.
But as I mentioned the display of the thumbnails, and the changing of the captions is still happening fine.
Kind regards, Domc
Hi Dominic!
Is it possible that you had the parameter "Use fixed startimage?" set to "Yes" in Joomla!1.5 whilst it is set to "No" in Joomla!1.7?
Best regards
Andreas
I really like this pluggin which has been working perfectly in J1.5.
I've upgrated to 1.7 and have a similar problem to the comment below, the thumbnails are showing perfectly but not the main picture.
Also the captions don't seem to be clearing properly - there's like a greyish copy of the previous copy underneath the new caption.
Any ideas please?
Many thanks, Dominic
Hi Dominic!
I'm just preparing the Joomla!1.7 version of this plugin (not much more than changing the version number in some files) and had no problems whilst checking it. Is it possible that the problem is caused by the template you are using? Does a switch of the template solve it?
Best regards
Andreas
Dear Customer, First of all many compliments for your wonderful plugin! I am managing a website for a customer wanting to show 15 different collections of shoes, each with a principal model plus 3-4 variants; So that I created 15 different articles, and then in each I made the call {becsg} ....{/becsg}. The folders are stored in a 'galleries' folder, so that my call is galleries/galleryname. All works perfectly, but now my customer wants to introduce captions and comments. I can't understand how to call in each article with the string {becssg_c}gallery-number|imagefile|caption|text{/becssg_c} , because my galleries are stored by folder name, in increasing order bahamas bevery hills.... BUT my customer really wants a different sorting way, in order of relevance. Must I change the folder names in 0-1, without taking care of the names? Thanks a lot, it's very urgent!! Caterina
Hi Caterina!
The "number of the gallery" is the number of the galleries within the current article, sorted by occurrence within the article, starting with "0".
This means, if you have put every single gallery into a separate article, the value for this parameter is always "0".
Best regards
Andreas
Hi, I have a problem, everything install perfectly but I only see the thumnails, not the image. Do you have any suggestion??
Best,
Gretel
Hi Gretel!
Could you provide a link to the page please? I will have a look at it.
Best regards
Andreas
Is it possible to disable the thumbnail tooltip completely? Also, if I mouse over the main image (not a thumbnail) it disappears. Can you tell me how to fix that?
Hi gdwoods!
To disable the tooltips add the code for an empty default caption to the code of the gallery:
{*becssg}yourfolder{/becssg*}
{*becssg_c}0|||{/becssg_c*} ...without the asterisks
To have a fixed startimage, set the parameter "fixed startimage" to "yes".
Best regards
Andreas
I have an interesting problem with the gallery.
I am trying to link the galley up to a site, it has installed and runs with no issues, bar that it cannot find the folder i have put the images in.
Joomla 1.6.3
http://www.deeglass.com.au/index.php/glass-splashbacks
Hi Wally!
Please check the directory permissions of the folder "glass_splash_backs" (should be 755 for the folder and 644 for the files) because if I try to open the folder directly (http://www.deeglass.com.au/images/glass_splash_backs/), I get an ERROR 403 Forbidden.
Best regards
Andreas
Folgendes ist bei mir unter den php-Informationen zu finden:
gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.5
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
Daher sollte ja die Gallery funktionieren, macht sie aber leider nicht.
Stattdessen werden die Alternativtexte nur gezeigt.
Woran kann das liegen?
Hallo starpp!
Du könntest Dir im HEAD der Seite die Links zu den Bildern (sind als Hintergrunddatei angeführt) und im BODY der Seite die Links zu den Thumbnails ansehen und versuchen sie in der Adresszeile des Browsers direkt aufzurufen. Vielleicht gibt es ein Problem mit den Dateirechten.
Eventuell ist aber auch eine andere Erweiterung Auslöser des Problems. Verwendest Du z.B. den Redim Imagesizer? Wenn ja, dann sortiere ihn im Plugin Manager vor die CSS Gallery.
Wenn Du einen Link zur Seite postest, dann schau ich mir das Ganze gerne an.
Gruß
Andreas
Hi,
Is it possible to get square thumnails without making te bigger pictures square? In some other plugins you can set the exact width and height of the thumb.
Thanks!
René
Hi René!
No it is not, but you may want to have a look at the "Very Simple Image Gallery" (menu at the left), another gallery plugin of mine and one of the "other plugins" that allow to do so.
Best regards
Andreas
I have one article where the plug in works fine
http://www.brownac.com/joomla/index.php?option=com_content&view=category&layout=blog&id=42&Itemid=55
the article above uses the following code in the article: {*becssg}Gallery_Images/Commercial/WalkinCooler{/becssg*}
I have another folder and another article for the next batch of images and it doesn't show. I have checked the file permissions and the image permissions to make sure they are correct but the images do not show
http://www.brownac.com/joomla/index.php?option=com_content&view=category&layout=blog&id=41&Itemid=61
the article above uses the following code in the article: {*becssg}Gallery_Images/Commercial/WalkinCooler{/becssg*}
I have checked the menus to confirm they are pointing to the correct section/category.
Please assist.
thank you
Hi Cathy!
My best guess is that either the page points to the wrong article or the article does not contain the code you posted above. To check this, add the asterisks I added above to prevent the code from getting executed to the code in your article too. Now the frontend-page should show the code with the asterisks. If it doesn't you point to a wrong article. If it does, please post again.
Best regards
Andreas