7911 Posts in 1354 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » ImageGallery problem with uploading files
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 797 Views |
-
ImageGallery problem with uploading files

29 March 2011 at 1:14am
Hi i need help with this problem.
when i uploading files in gallery write this error
Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 10368 bytes) in /data/b/a/data/sub/agenturaivi/sapphire/filesystem/GD.php on line 32
-
Re: ImageGallery problem with uploading files

29 March 2011 at 2:16am
Hi Slimo,
seems like you want to uplaod a very big image. Image Gallery (or DOM) produces a thumbnail right after uploading. If you don't have enough memory for php, it produces this error.
Try to upload smaller images (e.g. the biggest resolution you want to display). If you need the images that big you need more memory.
Hope that helps,
Wmk
-
Re: ImageGallery problem with uploading files

29 March 2011 at 2:31am
the images have 240kb and resolution 2592x1465
is it big?
please how i can set more memory for php? thanks -
Re: ImageGallery problem with uploading files

29 March 2011 at 3:45am
Well, i don't have problems with images that are 1600px big. While resizing no the filesize but the image dimensions need the memory.
You can increase your memory limit via php.ini or via your .htaccess file, depending on your hosting or your server. This is what i found quickly using google search for "php increase memory".
http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/
hth wmk
| 797 Views | ||
|
Page:
1
|
Go to Top |

