Jump to content

Image resizer for HUGE images?


katlis

Recommended Posts

I've tried a few scripts such as TimThumb, Smart Image Resizer, PHP Image Resize Script, etc... I've tried very simple imagecopyresampled scripts...

 

They all work... with regular sized images. But I can't get ANYTHING to work with images over ~2mb. It'll just give me a 500 error.

 

What do I use to handle huge image resizing?

Link to comment
Share on other sites

Umm....careful coding?  And mine isn't just resizing.  I can do all sorts of things with it.

 

http://96.224.250.205:6969/tests/showimages.html

 

I'm going to release the class pretty soon.  It can handle any image file and it automatically sorts it all out (with clever use of imagecreatefromstring()) and outputs or saves it very easily.  @_@  I just want to make sure everything works with it.  For example, I needed to fix a tiny bug yesterday. =P

Link to comment
Share on other sites

Link me to one of the images please.  I'll try resizing on my server.  It may just be a memory limit thing.

 

Look into memory limit of your PHP setup... simple image resizing scripts (if coded correctly) can handle images of any size but only if PHP has sufficient memory at it's disposal.

 

Try running your code on a local php setup (use for example http://www.apachefriends.org/en/xampp.html) and increase your memory limit and max_execution_time. I have never had issues with images too big and I've trying 6000x4000 pixel images, should work just fine...

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.