FAQ Overview
All FAQ from the category Easy Gallery
- I'm getting an error: Fatal error: Call to undefined function imagecreatefromjpeg
- Can I use Easy Gallery to give my users their own album and let them upload to it?
- Allowed memory size of Xxx bytes exhausted
- Can I get a refund?
I'm getting an error: Fatal error: Call to undefined function imagecreatefromjpeg
This error means that the GD library hasn't been compiled with php. Ask your hosting provider to enable this for you.
If you have access to the php.ini file yourself, open it, and change this line:
;extension=php_gd2.dll
to:
extension=php_gd2.dll
then restart apache.
Can I use Easy Gallery to give my users their own album and let them upload to it?
No, that is not supported by Easy Gallery.
I don't think this will come on short terms. I would like to keep Easy Gallery as slim and simple as possible. Besides this, rights should be something that are managed in Joomla, not on a component level.
Allowed memory size of Xxx bytes exhausted
When you get an error that says: "Allowed memory size of Xxx bytes exhausted", you are using more memory that php has available. This can be caused by a very large image or a great amount of images at ones (with Zip upload or Directory scan).
There are a few ways to encrease the amount of available memory on your site.
php.ini
Open the php.ini file and change memory_limit = 8M to a larger value:
memory_limit = 16M
.htaccess
If you don't have access to the php.ini file (on most servers) you can try to add a line to your .htaccess file:
php_value memory_limit 16M
(note, this might give an Internal Server error if this isn't allowed on your server. Simply remove the line to fix it again)
In php script
If both methods are not working, the only option available is to change the php script. Open /administrator/components/com_easygallery/easygallery.class.php, locate this line:
define("PATH_EASYGALLERY", dirname(__FILE__));
and add this below it:
ini_set("memory_limit","16M");
That should be it. I used 16 MB in the example, if this isn't enough, simply encrease the value. (32M for 32MB, 64M for 64MB etc).
If there's no "memory_limit" parameter in your phpinfo page, then all PHP/Webserver processes are limited by the per process max memory limit. You'll have to ask an administrator to change the limit in this case.
Can I get a refund?
No, as stated before you actually purchase a club membership, we do not offer refunds.
As all of our products are digital software, available for download instantly once payment is received it is impossible for you to return a product to use for a refund.

