Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
David N. Posted February 8, 2023 Posted February 8, 2023 (edited) When resizing an image, the "Keep original aspect ratio" is sometimes deselected, sometimes selected, I can't figure out any kind of Logic in its status. I always want to keep the original aspect ratio when resizing (I'm not sure if anyone ever needs to change the aspect ratio when resizing an image in Invision??) - is there a way to remove that option or have it consistently selected by default? Edited February 8, 2023 by David N. The Old Man 1
Marc Posted February 8, 2023 Posted February 8, 2023 It should always be selected unless the image has been manually resized in some way.
David N. Posted February 8, 2023 Author Posted February 8, 2023 41 minutes ago, Marc Stridgen said: It should always be selected unless the image has been manually resized in some way. What do you mean by "manually" resized exactly? For some reason it's often deselected here and I end up with distorted images.
Marc Posted February 8, 2023 Posted February 8, 2023 I mean someone has edited the image, and changed the sizes, where you show in your image. Thats the only way that would be deselected. If you believe this not to be the case, and you can replicate this with a new item, please let us know.
David N. Posted February 8, 2023 Author Posted February 8, 2023 So if I change the size (and keep the aspect ratio), submit reply, then edit and double-click the image, it's unselected?
Marc Posted February 8, 2023 Posted February 8, 2023 No, if you change one of the sizes and deselect it, then it would be deselected
David N. Posted February 8, 2023 Author Posted February 8, 2023 But that's the thing, I never deselect it, and I'm resizing only my own images, images I've posted myself, and sometimes it is deselected. It's pretty frustrating so I wish there was a way to completely disable the option to resize an image.
opentype Posted February 8, 2023 Posted February 8, 2023 Might be some kind of JavaScript rounding error or something like that. I got curious and uploaded the same image here and on one of my own communities. Here the setting was checked and the image was placed at 800 pixels wide while on my own site it was placed 767 without the setting being checked. So it definitely can happen without any previous actions. David N. 1
David N. Posted February 8, 2023 Author Posted February 8, 2023 I'm referring to any image I upload on my site. Mostly they are screenshots in the ".png" format. As for @opentype I believe he's referring to one image that he used for testing both on this site and one of his communities.
opentype Posted February 8, 2023 Posted February 8, 2023 Yeah, just a random image. The initial image size depends on the available space in the editor field. Depending on the browser window size, different image sizes are filled in and sometimes the checkbox will be turned on or off, depending on those sizes. I can replicate that by just dragging the browser window to different sizes, especially with images with odd sizes (that aren’t just a 2:1 ratio for example). David N. 1
Marc Posted February 9, 2023 Posted February 9, 2023 Ah, got you. Thank you guys. I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release. David N. 1
Marc Posted September 6, 2023 Posted September 6, 2023 We have taken a look at this, and currently this is working as intended. If the height and width defined for the the image in the editor source does not match the detected natural height and width by the editor, then the box will not be checked. This said however, there may be some odd aspect ratios that are causing a problem in ckeditor code itself. This is something we will revisit if its occuring still in version 5. David N. 1
David N. Posted September 8, 2023 Author Posted September 8, 2023 Unfortunately I am still having this issue. I just uploaded an image and double-clicked it to resize it, and Keep original aspect ratio was deselected: I can reproduce it if I try to upload that same image to another topic as well. If I upload that same image here to this forum, I am not getting this issue. I am attaching the image in question below:
Marc Posted September 8, 2023 Posted September 8, 2023 As mentioned, there are some instances where this works incorrectly, which seems to be down to ckeditor at present
David N. Posted September 8, 2023 Author Posted September 8, 2023 Just now, Marc Stridgen said: As mentioned, there are some instances where this works incorrectly, which seems to be down to ckeditor at present I see! Well it's a bummer... I'll just have to be patient. Thanks Marc. Marc 1
Recommended Posts