radykal | Support Center Chooser

For which product do you need support?

Fancy Product Designer Multistep Product Configurator Another

Start a new topic

disable minimum dpi?

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?

Best Answer
yeah all setup matey. I've set mine to 24 dpi and today had a customer message me saying they can't upload their photo. So they emailed me it. The DPI was 24 so why is this not allowing upload? I mite set the minimum to 1 to prevent this error as its causing nightmares for me haha.


Think the problem has resolved itself by changing it to 24. Strange how even though the photos I tested were 72dpi & minimum dpi was set to 72 it wouldn't allow me to upload them because of a DPI error. However when lowering it fixed it. Not at first however I think that was down to a caching problem.

#Alexus / problem was user interface side, when customer clicks add photo and selecting image.


What error he get? Word by word, can you copy paste? DPI option affect only export for admin.



 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


Its cool, because when i set in options dpi minimum to 300 it allow to load files with 72dpi. Hmm......Looks like it just not work for me


Doesn't work for me either :P haha.


What the error you get? Word by word. How i understand dpi option work only for export by admin


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 !).

Yeah same I've noticed this, also set mine to the minimum of 1

Better using 0. The read function may pick up a zero from the file header ;)

I noticed if the DPI is set -1 of the actual DPI it work. For example setting the DPI to 23 of an image with 24dpi works but if you set it to 24 the same of the tested source you get an error message. I resolved this by setting it to 1 to prevent this from happening to customers
0? I'll change it to 0 then thanks paulo

I would like to be able to set this to 300dpi because I would like to make sure the customers pictures are not too low to print. Is there a solution to help make this actually work? Setting it to 0 will just allow any sized picture to upload and this would cause a problem for my product.

Try 299 Joe seems to work setting it -1 below the DPI your wanting hope this works for you then test a 300 DPI photo.

Thank you for the suggestion. Unfortunately 299 does not work. I also tried 72. Only seems to accept JPG format if it is set to 0. And I assume most customers images will be jpg. Any thoughts?

Login or Signup to post a comment