I seem to keep getting a dialog box popup saying minimum allowed DPI. It was originally set to 72 for minimum and was getting this Error so I lowered it to 24 and I still get the error. How can I disable this dpi check? I've checked with a few photos and It seems to keep recurring. I've checked DPI of these photos and they are 72 so I don't understand when it's set to 24 its still getting an error? I've tried on both mozilla & IE. Any ideas anybody?
Attached error Below of what I was getting. I lowered the minimum DPI which fixed the problem for 72 dpi photos. However it wouldn't of been getting this error when set to 72 as like I said photos were 72 DPI checked in properties & checked in photoshop. However not to worry, Problem resolved. (admin mark this as solved)
The DPI of the uploaded image is too small! Minimum allowed DPI is 72
I set the Minimum Allowed DPI 72, but got an error.Picture resolution is 72
What I've found until now:
- You have to activate PHP Uploader
- If you upload a PNG it detects it without any error message, the same image converted do JPG gives de error message imediatly
So. The DPI detection needs a better implementation! I've taken a peek to the code and the get_image_dpi function does a basic FileRead, reads 20 bytes and extracts the DPI from that 20 bytes. This approach is dangerous because the Exif XResolution and YResolution can be in different positions in the file header depending on the camera model that creates the file, so, the only solution I've found to circumvent this problem is to set the Minimum DPI field to 0 (and not 1 because the returned bytes can be 0 !).
Better using 0. The read function may pick up a zero from the file header ;)