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)
Picture Captions
13 Saturday, 28 April 2012 22:36
Axel Martinez

Hello,

I just like to know how to insert Captions in my css gallery.

Thanks,
Axel

@Axel Martinez
Tuesday, 01 May 2012 15:19
A. Berger

Hi Axel!

Captions are set using additional lines of code in the article.
Please check part "C.) Captions" at "Howto Plugin Code" (link in the menu at the left).

Best regards
Andreas

Images are not displayed
12 Wednesday, 11 April 2012 15:28
Srikanth

Hi andreas,

I am able to get the names of the images but  i cant see the images

@Srikanth
Wednesday, 11 April 2012 19:58
A. Berger

Hi Srikanth!

Please refer to the first item on this page: "If the gallery shows the alternative text instead of the thumbnails, please check the availability of the GDlib in the plugins configuration panel."
If the GDlib IS activated and the used image file type IS supported, please provide a link to the page, I will have a look at it.

Best regards
Andreas

2.5
11 Tuesday, 10 April 2012 04:31
Lauren

Hi.

I have uploaded the extension and the gallery, activated everything, however, it's not showing the pics. I am running Joomla 2.5, just wondering if the parameters are different... {*becssg}image/shadow{/becssg*} (without the astericks) should this be the code?
www.renegadeproductions.com.au/index.php/gallery/in-the-shadow-of-the-wild

Thanks

@Lauren
Tuesday, 10 April 2012 20:07
A. Berger

Hi Lauren!

The parameters will be the same ... as soon as a version for Joomla!2.5 is available. :)
Maybe you want to use the "Very Simple Image Gallery" (link in the menu at the left) meanwhile.

Best regards
Andreas

problem solved
10 Thursday, 05 April 2012 19:13
Samantha

I've just posted a comment, put I have already figured out what was wrong..

I didn't changed the CHMOD.

I have found it in an earlier post.. so thanks for your help and keep up the good work!

Pictures won't show
9 Thursday, 05 April 2012 19:01
Samantha

Please, help!

I'm building my own website, and I have just installed this plugin. The installation was really easy, but now I've made a folder for my pictures, at first my website said: could not create dictonairy (something like ...images and ... thumbs)  so i made 2 folders and that problem has solved. But now my website won't show my pictures, it shows a sign, you normally get when you'r computer can't read the image. 

I'm working with joomla1.7


Sorry for my english, hadn't had a english lesson for about 6 years.

Same Problem
8 Saturday, 29 October 2011 09:23
domc

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

@domc
Sunday, 30 October 2011 21:42
A. Berger

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

Same Problem
7 Friday, 28 October 2011 07:42
domc

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

@Domc
Friday, 28 October 2011 17:35
A. Berger

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

Same problem / thumbnails but no images
6 Saturday, 22 October 2011 08:28
Domc

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

@Dominic
Wednesday, 26 October 2011 18:25
A. Berger

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

About call captions and descriptions
5 Saturday, 15 October 2011 10:15
Caterina Cirri

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

@Caterina Cirri
Wednesday, 26 October 2011 17:23
A. Berger

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

I only see thumbnails
4 Saturday, 11 June 2011 23:33
Gretel

Hi, I have a problem, everything install perfectly but I only see the thumnails, not the image. Do you have any suggestion??

Best,
Gretel

@Gretel
Monday, 13 June 2011 20:52
A. Berger

Hi Gretel!

Could you provide a link to the page please? I will have a look at it.

Best regards
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 126 guests online