katlis Posted July 5, 2008 Share Posted July 5, 2008 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 https://forums.phpfreaks.com/topic/113347-image-resizer-for-huge-images/ Share on other sites More sharing options...
DarkWater Posted July 5, 2008 Share Posted July 5, 2008 Photoshop? Link to comment https://forums.phpfreaks.com/topic/113347-image-resizer-for-huge-images/#findComment-582336 Share on other sites More sharing options...
katlis Posted July 5, 2008 Author Share Posted July 5, 2008 Is there a new Photoshop PHP extension I haven't heard about? I have users uploading these large photos. Link to comment https://forums.phpfreaks.com/topic/113347-image-resizer-for-huge-images/#findComment-582339 Share on other sites More sharing options...
DarkWater Posted July 5, 2008 Share Posted July 5, 2008 Link me to one of the images please. I'll try resizing on my server. It may just be a memory limit thing. Link to comment https://forums.phpfreaks.com/topic/113347-image-resizer-for-huge-images/#findComment-582340 Share on other sites More sharing options...
katlis Posted July 5, 2008 Author Share Posted July 5, 2008 http://californiasporthorse.com/photos/30/1.jpg Link to comment https://forums.phpfreaks.com/topic/113347-image-resizer-for-huge-images/#findComment-582343 Share on other sites More sharing options...
DarkWater Posted July 5, 2008 Share Posted July 5, 2008 Worked for me just fine with the Image effects class I created a few weeks ago. http://96.224.250.205:6969/tests/imageresize.php Yeah. @_@ Link to comment https://forums.phpfreaks.com/topic/113347-image-resizer-for-huge-images/#findComment-582353 Share on other sites More sharing options...
DarkWater Posted July 5, 2008 Share Posted July 5, 2008 And it might take a few seconds to load since it's such a huge file. Normal sized files load instantly. =P Link to comment https://forums.phpfreaks.com/topic/113347-image-resizer-for-huge-images/#findComment-582356 Share on other sites More sharing options...
katlis Posted July 5, 2008 Author Share Posted July 5, 2008 Looks good, is the source available? I was using TimThumb: http://www.darrenhoyt.com/2008/04/02/timthumb-php-script-released/ When asked if it could handle images over 3mb, the creator said "It's not currently equipped to handle hi-res images that big." What's the secret? Link to comment https://forums.phpfreaks.com/topic/113347-image-resizer-for-huge-images/#findComment-582357 Share on other sites More sharing options...
DarkWater Posted July 5, 2008 Share Posted July 5, 2008 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 https://forums.phpfreaks.com/topic/113347-image-resizer-for-huge-images/#findComment-582367 Share on other sites More sharing options...
katlis Posted July 5, 2008 Author Share Posted July 5, 2008 Welp, can anyone else help with my original question? Link to comment https://forums.phpfreaks.com/topic/113347-image-resizer-for-huge-images/#findComment-582379 Share on other sites More sharing options...
DarkWater Posted July 5, 2008 Share Posted July 5, 2008 When I release it, I'll PM you, okay? @_@ Sorry about that. Link to comment https://forums.phpfreaks.com/topic/113347-image-resizer-for-huge-images/#findComment-582384 Share on other sites More sharing options...
Wuhtzu Posted July 5, 2008 Share Posted July 5, 2008 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 https://forums.phpfreaks.com/topic/113347-image-resizer-for-huge-images/#findComment-582387 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.