Home Joomla CSS Gallery - FAQ & Troubleshooting
Main Menu
Most Read
Warning: Creating default object from empty value in /var/www/clients/client396/web1968/web/modules/mod_mostread/helper.php on line 79 Warning: Creating default object from empty value in /var/www/clients/client396/web1968/web/modules/mod_mostread/helper.php on line 79 Warning: Creating default object from empty value in /var/www/clients/client396/web1968/web/modules/mod_mostread/helper.php on line 79 Warning: Creating default object from empty value in /var/www/clients/client396/web1968/web/modules/mod_mostread/helper.php on line 79 Warning: Creating default object from empty value in /var/www/clients/client396/web1968/web/modules/mod_mostread/helper.php on line 79
Support

If you like the products on these pages, your support is highly appreciated. Thank you very much!

Amount: 

Latest Items
Warning: Creating default object from empty value in /var/www/clients/client396/web1968/web/modules/mod_latestnews/helper.php on line 109 Warning: Creating default object from empty value in /var/www/clients/client396/web1968/web/modules/mod_latestnews/helper.php on line 109 Warning: Creating default object from empty value in /var/www/clients/client396/web1968/web/modules/mod_latestnews/helper.php on line 109 Warning: Creating default object from empty value in /var/www/clients/client396/web1968/web/modules/mod_latestnews/helper.php on line 109 Warning: Creating default object from empty value in /var/www/clients/client396/web1968/web/modules/mod_latestnews/helper.php on line 109
CSS Gallery Plugin FAQ & Troubleshooting
Written by Andreas Berger   
Tuesday, 24 November 2009 21:04

ERROR: Fatal error: Call to undefined function imagecreatefromjpeg() or imagecreatefromgif() or imagecreatefrompng()

ERROR: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3264 bytes)

PROBLEM: Only the code {becssg}folder{/becssg*} is shown - usage in module position

 

 

ERROR: Fatal error: Call to undefined function imagecreatefromjpeg() or imagecreatefromgif() or imagecreatefrompng()

Starting with version 1.3.5 this error will not happen any more. If the gallery shows the alternative text instead of the thumbnails, please check the availability of the GDlib in the plugins configuration panel.

The GD Library, short GD or GDlib, is a program library to dynamically create and manipulate graphics and one of the most widespread extensions of PHP. The CSS Gallery uses this extension to scale the main images and to create the thumbnails.
To check if the GDlib is activated on your server go to the Joomla! administration interface and open Help > System Info >PHP-Information. On this page search for "gd". In the best case you will find a chapter with the following or similar content:

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

The first line shows, that the extension is enabled, the second line holds the installed version. The followup lines hold information about available functionality and supported file types. For the CSS Gallery the file types GIF, JPG and PNG are of importance.
If the GDlib is not activated or these file formats are not supported, you should (on your local test environment) activate it or (on the web server) ask your hoster if it is possible to add this feature. Without the GDlib the CSS Gallery cannot be used.

 

ERROR: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3264 bytes)

If you get this error (amount of bytes will vary) when trying to open a page that contains a gallery, the amount of memory PHP needs to create the scaled main images or the thumbnails exceeds the set maximum amount of memory a PHP script is allowed to use.
One possible solution would be to increase this amount (on your local test environment) or (on the web server) to ask your hoster if it is possible to enhance your account but - with a probability of 99% - the simple solution is: Smaller images!

In many cases images get uploaded far to large for web use. A common Joomla! template offers for a gallery in the context of the main content from 600 up to 800 pixel of width at the maximum. Images of this size can be displayed at excellent quality with - depending on the image - 50 up to 100 kilobyte. If you upload your images as they are saved from your digicam, they often come with dimensions up to 3000 or 4000 pixel of width and 3 or 4 megabyte of size.
The disadvantages of such large images are obviously: The upload takes a long time, you need a lot of space on your server and - important - scarcely any visitor is willing to wait for an image of 3 or 4 MB to load. Furthermore scaling an image offline with an appropriate program (e.g.: GIMP) gives you much better results than leaving it up to the visitors browser.

In the best case you scale your images offline to a format that exactly matches the size you are going to display them on your page (if you already fine tuned the gallery) or is a little above this size (above because browsers are still worse in up scaling images than they are in down scaling them).

By the way - doing so, the error disappears too.

 

PROBLEM: Only the code {becssg}folder{/becssg*} is shown - usage in module position

If the frontend shows the code - {becssg}folder{/becssg*} (without asterisk) - instead of the gallery, the first thing to do is to check if the plugin is activated. If it is and the problem persists, in most cases you are trying to display the gallery on a module position instead of the context of the main content.
Not all extensions, that offer to display custom content on a module position, are supporting the whole functionality of the Joomla! framework and with it the functions the plugin needs to work properly.
Up till now two extensions are reported to offer the needed functionality:

One is the module "Module: Content with Plugins", listed at extensions.joomla.org under "News Display" > "Articles Embed".
The other is the module "Plugin in Module", listed at extensions.joomla.org under "Core Enhancements" > "Embed & Include".


If you have questions or suggestions, please use the comment-function. Please include the installed Joomla! version and if you have problems - if any possible - the affected page in your comment.

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).

If you use this extensions, please post a rating and a review at extensions.joomla.org.

Last Updated on Thursday, 17 February 2011 20:41
 
Comments (13)
not display filename
3 Monday, 23 May 2011 21:55
gdwoods

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?

@gdwoods
Tuesday, 24 May 2011 21:20
A. Berger

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

Gallery issue
2 Sunday, 15 May 2011 06:18
Wally

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

@Wally
Sunday, 15 May 2011 08:30
A. Berger

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

es werden keine Bilder gezeigt
1 Tuesday, 26 April 2011 17:22
starpp

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?

@starpp
Tuesday, 26 April 2011 20:09
A. Berger

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

Warning: Illegal string offset 'active' in /var/www/clients/client396/web1968/web/templates/biz_blue_ii/html/pagination.php on line 129 Warning: Illegal string offset 'active' in /var/www/clients/client396/web1968/web/templates/biz_blue_ii/html/pagination.php on line 135 Warning: Illegal string offset 'active' in /var/www/clients/client396/web1968/web/templates/biz_blue_ii/html/pagination.php on line 129 Warning: Illegal string offset 'active' in /var/www/clients/client396/web1968/web/templates/biz_blue_ii/html/pagination.php on line 135
English
Panoramic Image Viewer
Follow me on Facebook
Follow me on Google+

bretteleben.de

Add to circles

Who's Online
We have 61 guests online