Jump to content

Client side image resize - wrong dimensions


Recommended Posts

Hi!

I just installed a new and clean pw 3.0.200 and use the client side image resize for an image field.
Minimal width has to be 1800px - minimal height 800px.
image.thumb.png.5b84bb199bda76a3739a3cb18d5560df.png

Now  - when I upload this image with 1920 x 1282 Pixels ...

image.png.96b6a89d72e698f4cbfb61267ec4b2fb.png

processwire tells me, that the image is too small in dimensions.

image.png.96799a376abe3777822bc2316fd3638f.png

So the image seems to be resized without any reason.

Any ideas??? Thanks!

Link to comment
Share on other sites

I think it‘s the „Maximum Megapixel“ Configuration 😉 

it‘s set to 2MP, it‘s too low for your Image 😉   

  • Like 1
Link to comment
Share on other sites

Thanks - I found this out a few seconds before your post 😉
But I don't understand it. Because the image ist only about 500kb. Perhaps you can explain this behavior?

 

Link to comment
Share on other sites

Megapixel is Not the Filesize 😉 

It defines how many pixels an image has 

2 Megapixel = 2.000.000 Pixel = approx 1731*1155 (= 1.999.305 Pixel)

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...