forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Amber85 on September 17, 2006, 12:23:39 am

Title: [SOLVED] Can not upload big size files?
Post by: Amber85 on September 17, 2006, 12:23:39 am
Uploading went fine until I uploaded a picture of 900x1500. When I tried to add it with 'batch add' (like I always do), I am getting a red cross instead of a thumbnail. But when I click on the picture's filename, it just shows me the picture which I have uploaded. But it just doesn't want to add the picture to my gallery.

And the picture is just something like 500 KB. But the weird part is that I uploaded a picture of 870x1450, it just works fine, but then I tried a 1450x1450 file, it failed and I got a red cross again! And then I tried 1000x1450, because I have uploaded a 1000x542 picture before with no problems at all! But the 1000x1450 picture failed!

And I checked my memory_limit and it's at 8MB, and I read here that a picture with a size of 1200x1600 uses 5.49 MB. It seems that that couldn't be the problem, right?

I read several help topics, and the trouble-shooting page, and unfortunately it didn't solve anything for my case. I hope someone can help me with this problem, thank you already!

-deleted
Title: Re: Can not upload big size files?
Post by: kegobeer on September 17, 2006, 01:03:37 am
You're running into a memory limitation of GD.  It takes a huge amount of resources to resize large dimension images.  If your host provides ImageMagick, you can try using that to get around this problem.  If they don't, ask them to increase your memory_limit to 16MB.
Title: Re: Can not upload big size files?
Post by: Amber85 on September 17, 2006, 02:04:05 am
You're running into a memory limitation of GD.  It takes a huge amount of resources to resize large dimension images.  If your host provides ImageMagick, you can try using that to get around this problem.  If they don't, ask them to increase your memory_limit to 16MB.

Ah I see, well I just emailed my host if they could change the memory_limit, so I wonder what their response will be. :)

Thank you for your reply!  ;)

-edit; they changed the memory_limit to 32MB for me and now i don't have those problems anymore~ ^^