Jump to content

Image Resizing and Max Pixel Resolution


fohanlon

Recommended Posts

Hi Guys

 

I hope you can help.  I have spent hours searching web on this.

 

I have image resizing code that is resizing most of the time, apart from when then images are of a large pixel dimension i.e. width of over 2000 pixels even though image is just over 400KB so this wuld rule out the fact that the host provider has increased the max file size.  The original image uploaded remains the original size - no resing occured.

 

I need the image resize to work all of the time.

 

Any thoughts would be gratefully appreciated.

 

Thanks,

 

Fergal.

Link to comment
Share on other sites

upload_max_filesize is 2 MB by default and post_max_size should be in that range, so your problem isnt upload size. Resizing with GD an image of that dimensions shouldnt take more then a few seconds so even max_execution_time has nothing to do with it. Normally it should work even for images of bigger dimensions, so id say it would be better to post the resize code, which may contain something that stops it for big images.

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.