Linked Questions

0 votes
1 answer
2k views

Possible Duplicate: Efficient JPEG Image Resizing in PHP Non blocking functions PHP I am creating a system where a user will be able to upload images via a file manager system. I assume the ...
user1155083's user avatar
-1 votes
1 answer
514 views

I want to resize images to a fixed resolution (540x540 or 640x640). my source image sizes vary from 320x320 to 720x720. Can someone give a solution for resizing these images? I'm using PHP with GD ...
Jack Millers's user avatar
-2 votes
1 answer
373 views

I want to do is to resize every image to 300x300. My problem is in my current code some of the image file that was move to the upload folder are to big. I want all image file that is in the upload ...
user3856999's user avatar
6 votes
3 answers
9k views

I have a PHP script which is used to resize images in a user's FTP folder for use on his website. While slow to resize, the script has completed correctly with all images in the past. Recently ...
jmillar's user avatar
  • 365
6 votes
7 answers
9k views

I almost always have a PHP resize script (using GD) in websites for my clients. No matter how many times I tell them to resize their huge 7MP images from their digital camera before uploading them, ...
Mike McLin's user avatar
  • 3,657
7 votes
6 answers
9k views

Is there a way to prevent the PHP GD image library from running out of memory? If too large an image is uploaded, GD tends to run out of memory, terminating the script. I'd like it to throw a ...
deceze's user avatar
  • 525k
4 votes
4 answers
5k views

I've done some searching for this and I understand that it is not possible to recover from an exhausted memory fatal error. I have a script that runs imagecreatefromjpeg. I tried catching the ...
MrVimes's user avatar
  • 3,322
0 votes
6 answers
8k views

I want to enable users on my site to upload images to their accounts. The images get resized into 4 different sizes required across the site. I have been using Pear Image_Transform but I kept ...
ed209's user avatar
  • 11.3k
0 votes
4 answers
13k views

I have a php script for image upload as below <?php $LibID = $_POST[name]; define ("MAX_SIZE","10000"); function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return "...
Alfred's user avatar
  • 21.5k
2 votes
4 answers
5k views

I am getting a fatal error from my image resize script that takes jpegs and resizes them and then saves. The image I am uploading are not over the max upload limit (not ever close) and based on the ...
Denoteone's user avatar
  • 4,055
1 vote
2 answers
2k views

I'm generating thumbnail images from the original jpeg files when they are being uploaded. I could actually create and move those thumbnail files to another directory, but the problem is that those ...
Tepken Vannkorn's user avatar
2 votes
2 answers
5k views

Question: What is a fast way to scale and/or crop a bitmap provided from a WritableBitmap for display in the UI? Requirements: Have Low CPU usage Handle large images (5 Megapixel, abt 2500x2000 ...
Scott Lemmon's user avatar
-1 votes
2 answers
3k views

I had been using the image resize class written by someone else to resize images or to create the thumbnails, here is the link to the class I had been using. http://www.white-hat-web-design.co.uk/...
Ibrahim Azhar Armar's user avatar
3 votes
3 answers
2k views

Final: I've decided to basically use this: http://shiftingpixel.com/2008/03/03/smart-image-resizer/ As it handles everything, Ive turned caching off and do this in the admin controllers: $image =...
azz0r's user avatar
  • 3,311
0 votes
1 answer
1k views

I’m writing webpage that will display hundreds of pictures. Problem is size of image(+-5MB). This images are background-image of div. I use JS for changing this background-image.(sometimes 1 per sec.) ...
Alrick's user avatar
  • 79

15 30 50 per page