thumbnail creation

Phoca Gallery - image gallery extension
vfrlegend
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 20 Aug 2009, 05:48
Location: Australia

thumbnail creation

Post 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?
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: thumbnail creation

Post by caro84g »

Hi,

could you try smaller sized images?

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
vfrlegend
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 20 Aug 2009, 05:48
Location: Australia

Re: thumbnail creation

Post 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
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: thumbnail creation

Post 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
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
vfrlegend
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 20 Aug 2009, 05:48
Location: Australia

[SOLVED] Re: thumbnail creation

Post 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
Post Reply