DFP Image Resize Limitations?
Hello!
We have run into a curious situation with the DFP upload.
We use this extension in tandem with DataAssist to upload images onto the server to be displayed in a photo gallery. Naturally, customers use whatever comes out of their digital camera which is typically well over "normal" web size -- in the 3,500 x 2,400 pixel/300dpi range. We find they do this because they're either ignorant that the file size is gargantuan, they're lazy and don't want to take the extra step to resize the image down to something web ready or do not have any software on their systems to resize images.
If we have DFP upload these large JPGs without enabling the resizing feature the JPGs upload in all their mongo pixelness and all is happy, albeit huge. We get the usual "I only see a part of the picture" phone call and we have to reiterate the necessity for smaller images to use on the website. When DFP 2 came out we were overjoyed with the new resizing feature and felt "woo hoo" problem solved.
Here is the curious issue we're running into. If our customers upload anything that has at least one side of the image dimension less than 1000 pixels (ie 2000 x 999) the file uploads and resizes without any problems at all. When they attempt to upload an image that has four digits in both height and width (ie 2000 x 1000) they get the spinning "Page Loading" browser of death.
We have verified this on two different web providers with the following settings in the PHP.ini:
Provider 1 (Local Vendor - we have access to edit PHP.INI):
max_execution_time 45
max_input_time 60
memory_limit 128M
post_max_size 20M
upload_max_filesize 20M
Provider 2 (National Vendor - no access to PHP.INI):
max_execution_time 30
max_input_time -1
memory_limit 16M
post_max_size 8M
upload_max_filesize 5M
The files we are using as tests are always less than 5MB, as are the images that are coming out of our customers digital cameras. We have used the Validation Toolkit code posted on this forum to not allow uploads larger than the max filesize.
Any assistance with this problem we are facing would be helpful. What other information do you need from me to help troubleshoot? I can provide you with a login to test this out on our development site.
Dreamweaver CS4; Mac OS 10.5.8
Testing using Safari, Firefox on the Mac; IE 7 & Firefox on the PC all with same results
Kindest Regards,
Monica