Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Bug: Uploader sometimes upsizes images

#902

I noticed when I tried uploading an image, it upsized the image. I assume the max width feature is only supposed to downsize if the image width is greater than what is specified.

I simply ticked the resize checkbox and specified 1600 as the max width. It was using the HTML5 uploader.

Reported by Kelvin Lomberg · February 6th, 2013 @ 01:46 AM

State: resolved
Milestone: 2.1.2
Assigned to: dleffler dleffler

Activity

  1. expNinja
    expNinja
    • State changed from new to resolved

    (from [f2172c048fce215683ff1a7d4ffa432a230f1ebd]) Changes logic of Uploader to ONLY downsize images on upload, NOT resize all images to new width [#902 Bug: Uploader sometimes upsizes images state:resolved responsible:dleffler milestone:2.1.2] https://github.com/exponentcms/exponent-cms/commit/f2172c048fce2156...

    February 6th, 2013 @ 04:44 AM

  2. Kelvin Lomberg
    Kelvin Lomberg

    That fix didn't work for me, so I investigated and found you can't specify both image_ratio_y = true and image_ratio_no_zoom_in = true. You also need to specify an image_y input as the maximum height for the image otherwise it doesn't seem to work either. I think it could be good to use the same value for both maximum width and height, rather than max width only.

    February 6th, 2013 @ 07:48 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.