Square Wheels Posted March 2, 2020 Posted March 2, 2020 When editing a picture, can "Keep original aspect ratio" be selected by default?
Daniel F Posted March 2, 2020 Posted March 2, 2020 1 minute ago, Square Wheels said: When editing a picture, can "Keep original aspect ratio" be selected by default? Do you mean inside the editor? I've just tested it and it selected for me. Square Wheels 1
Square Wheels Posted March 2, 2020 Author Posted March 2, 2020 Odd, it's not selected on my site. Is it a setting?
Daniel F Posted March 2, 2020 Posted March 2, 2020 Interesting. It's selected for me when I edit your image. Edit: OK, there's actually a condition controlling this. Quote {{if round( $maximumWidth / $maximumHeight, 2 ) == round( $width / $height, 2 )}}checked{{endif}}
Square Wheels Posted March 2, 2020 Author Posted March 2, 2020 Not sure what the condition means, can it be removed? I'd prefer it be selected all of the time.
Balto Posted August 14, 2021 Posted August 14, 2021 (edited) Hello, after I updated to the latest version (I was using 4.5 and I upgraded to 4.6.5.1), the "Keep original aspect ratio" is not selected by default: How can I set it to selected by default? Thank you! On 3/2/2020 at 3:02 PM, Daniel F said: Interesting. It's selected for me when I edit your image. Edit: OK, there's actually a condition controlling this. Where should I put that condition? Thanks! EDIT: I see on this forum is selected by default, but on my forum is not. Edited August 14, 2021 by Balto
Balto Posted August 16, 2021 Posted August 16, 2021 Also, what are the ckeditor plugins which allows to open this window when you double click on an image? I may try to update the plugins and see if the problem is fixed. Thank you!
Nathan Explosion Posted August 16, 2021 Posted August 16, 2021 10 minutes ago, Balto said: Also, what are the ckeditor plugins which allows to open this window when you double click on an image? The behaviour is controlled by an IPS specific plugin (ipsimage) not one that is available from ckeditor.com
Balto Posted August 16, 2021 Posted August 16, 2021 Just now, Nathan Explosion said: The behaviour is controlled by an IPS specific plugin (ipsimage) not one that is available from ckeditor.com Thank you Nathan. Was this added recently or it's always been like that? I can't see the plugin in my plugin list.
Nathan Explosion Posted August 16, 2021 Posted August 16, 2021 It's not new. 2 minutes ago, Balto said: I can't see the plugin in my plugin list. Not sure where you are looking but these are the IPS plugins in ckeditor:
Recommended Posts