Jump to content

Resizing large images with GD2 Libary


copes

Recommended Posts

Hello,

 

Ive come across abit of a snag which a few others seem to have encountered, but i cant seem to find an answer.

Im working on a project for a estate agents, who need to upload photos of the properties. Im using this script to resize images

http://www.netlobo.com/php_image_resize_gd2.html

 

However, this works great if the images are small, but it seems once the images are larger than around 1000px it just spits out a

"Internal Server Error, this is an error with your script, check your error log for more information." ive checked the php.ini and the max_upload_size and post_max_size are both 5mb which is definitly less than im trying to upload.

 

i can upload images fine actually, its just with the addition of trying to resize them its throwing wobblies. Ive seen a few people mention imagemagik, while browsing for an answer, does that have better handling of large images?

 

Cheers

Link to comment
https://forums.phpfreaks.com/topic/43810-resizing-large-images-with-gd2-libary/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.