fohanlon Posted September 5, 2007 Share Posted September 5, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/68142-image-resizing-and-max-pixel-resolution/ Share on other sites More sharing options...
Fadion Posted September 6, 2007 Share Posted September 6, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/68142-image-resizing-and-max-pixel-resolution/#findComment-342629 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.