Jump to content

Recommended Posts

Posted (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? 

Could contain: Page, Text

Edited by David N.
Posted
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. 

Posted

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.

Posted

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. 

Posted

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. 

Posted

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. 

Posted

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). 

Posted

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.

 

  • 6 months later...
Posted

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.

Posted

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: 

Could contain: Text, Page, Document, Invoice

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: 

Could contain: File, Electronics

Posted
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. 

  • Recently Browsing   0 members

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