Bug: Uploader sometimes upsizes images
Reported by Kelvin Lomberg | February 6th, 2013 @ 01:46 AM | in 2.1.2 (closed)
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.
Comments and changes to this ticket
-
dleffler February 6th, 2013 @ 04:13 AM
- Tag set to uploader
- Assigned user changed from expNinja to dleffler
- Milestone set to 2.1.2
correct, according to the docs, it's only supposed to downsize...will investigate
-
expNinja February 6th, 2013 @ 04:44 AM
- 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 state:resolved responsible:dleffler milestone:2.1.2] https://github.com/exponentcms/exponent-cms/commit/f2172c048fce2156...
-
Kelvin Lomberg February 6th, 2013 @ 07:48 AM
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.
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS
People watching this ticket
Tags
Referenced by
- 915 Bug: Auto resize sometimes doesn't work Firstly the fix from #902 didn't seem to work for me. I f...