Page 1 of 1

thumbnail creation

Posted: 20 Aug 2009, 06:14
by vfrlegend
Hi,

Am having problems being able to upload images from the frontend (get "Error saving filename ). The file is there however as i can see a placeholder (no thumbnail as per below) and I can download it off the site. uploading through admin is fine

I'm also having problems with thumbnail creation, I get this error message

Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 12000 bytes) in ....\administrator\components\com_phocagallery\libraries\phocagallery\image\imagemagic.php on line 220

have tried permissions set at both 777 and 755

any Ideas?

Re: thumbnail creation

Posted: 20 Aug 2009, 11:17
by caro84g
Hi,

could you try smaller sized images?

Regards, Carolien

Re: thumbnail creation

Posted: 20 Aug 2009, 13:58
by vfrlegend
Ok, so that worked...which explains why my testing didn't have a problem :)

how do I increase the file size I can work with?

is it working on pixel dimension limits (ie uncompressed image size)?

thanks in advance

Re: thumbnail creation

Posted: 20 Aug 2009, 14:55
by caro84g
Hi,

I think this has a relation with your php memory limit and your php maximum execution time. (I'm not sure which one you should increase, if you have access).

Regards, Carolien

[SOLVED] Re: thumbnail creation

Posted: 21 Aug 2009, 08:45
by vfrlegend
Thanks, working fine now...

Discovered that I was uploading .png files in production... doh! I'm also imposing a limit of 1mb on the jpgs..

regards

Mark