Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

2.3.0-rc3 inserting a image and preserve aspect ratio


Go to End


5 Posts   2018 Views

Avatar
lerni

Community Member, 81 Posts

7 February 2009 at 1:33am

hi there

i've not found a possibility to change the size of a image in the TinyMCE editor an keep the aspect ratio with 2.3-RC3. this was possible in the "old/current 2.2.3" version by selecting the image, change the width value in the sidebar and press tab. is there a way to do it with RC3?

lukas

Avatar
Nathan Cox

Community Member, 99 Posts

8 February 2009 at 2:45pm

You should be able to do this by grabbing one of he little selection boxes in a corner of the image in TinyMCE and just dragging it to the size you want. Using the corner boxes keeps the aspect ratio.

Avatar
lerni

Community Member, 81 Posts

9 February 2009 at 8:53am

heho

thx this works but it's hard to set a image to a specific width unless your mouse works very precise. it would be nice if one could set one value and it would calculate the other one. also in rc3 the side-bar does not grab the the current width and hight nor alt-text of a selected/highlighted image.

lukas

Avatar
Willr

Forum Moderator, 5523 Posts

9 February 2009 at 9:29am

Ive noticed some odd issues with that sidebar as well. You might like to make a ticket listing your issues on open.silverstripe.com. There is already 1 ticket outstanding for 2.3 relating to inserting images - http://open.silverstripe.com/ticket/3460 but this is slightly different.

Avatar
lerni

Community Member, 81 Posts

9 February 2009 at 10:34am