[SOLVED] Can not upload big size files? [SOLVED] Can not upload big size files?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[SOLVED] Can not upload big size files?

Started by Amber85, September 17, 2006, 12:23:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Amber85

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

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Amber85

#2
Quote from: 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.

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~ ^^