Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 8, 20232 yr 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, 20232 yr by David N.
February 8, 20232 yr It should always be selected unless the image has been manually resized in some way.
February 8, 20232 yr Author 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.
February 8, 20232 yr 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.
February 8, 20232 yr Author So if I change the size (and keep the aspect ratio), submit reply, then edit and double-click the image, it's unselected?
February 8, 20232 yr Author 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.
February 8, 20232 yr 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.
February 8, 20232 yr Author 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.
February 8, 20232 yr 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).
February 9, 20232 yr 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.
September 6, 20231 yr 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.
September 8, 20231 yr Author 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:
September 8, 20231 yr As mentioned, there are some instances where this works incorrectly, which seems to be down to ckeditor at present
September 8, 20231 yr Author 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.