I have stumbled over a 'feature' of the richtext editor that I'm not sure how to solve. I'm using Umbraco 4 and the builtin richtext editor (tinymce3?)
When trying to insert an image using the insert image dialogue in the editor, I set the dimensions height=216 and width=247.
The image I'm using is born with the dimensions height=180 and width =213.
When inserting the image, I un-select the 'Constrain proportions' checkbox. But the image is displayed as maintaining the proportions and matching either the height or width in the new.
Gonna create a macro that take 2 params and just tell the client to use this instead I guess. Though I'm curious if anybody has any ideas as to what is the possible fix on this :)
i've tried to remove width and height attributes from img tag in tinymce.config. It helped but than i had problems when user tried to put embeded code in RTE.It will replace original width and height of embeded code with 100px values, so i had to put back those attributes to config file.
I took the shortcut and made a macro that took height and width of a desired img and wrote it into the <img> tag. It didn't fix the RTE issue, but it at least meant I could move on and get some more work done:)
Something you can try is either is by selecting it and grabbing the handles and simply drag it to the correct size, and the other thing you can do is clicking on the HTML button in the toolbar for the editor and there simply change the values for width and height.
Resizing image in richtext editor
Hi all,
I have stumbled over a 'feature' of the richtext editor that I'm not sure how to solve. I'm using Umbraco 4 and the builtin richtext editor (tinymce3?)
When trying to insert an image using the insert image dialogue in the editor, I set the dimensions height=216 and width=247.
The image I'm using is born with the dimensions height=180 and width =213.
When inserting the image, I un-select the 'Constrain proportions' checkbox. But the image is displayed as maintaining the proportions and matching either the height or width in the new.
Any suggestions as to how to fix this?
Gonna create a macro that take 2 params and just tell the client to use this instead I guess. Though I'm curious if anybody has any ideas as to what is the possible fix on this :)
Hi,
i've tried to remove width and height attributes from img tag in tinymce.config. It helped but than i had problems when user tried to put embeded code in RTE.It will replace original width and height of embeded code with 100px values, so i had to put back those attributes to config file.
So right now i'm looking for the solution.
Cheers!
I took the shortcut and made a macro that took height and width of a desired img and wrote it into the <img> tag. It didn't fix the RTE issue, but it at least meant I could move on and get some more work done:)
Since you're using a macro you might want to use ImageGen to do the image resizing for you. http://our.umbraco.org/projects/imagegen
cheers,
doug.
I will in future projects:) This issue was brought up in the last few minutes before a release so didn't want to change anything major
Something you can try is either is by selecting it and grabbing the handles and simply drag it to the correct size, and the other thing you can do is clicking on the HTML button in the toolbar for the editor and there simply change the values for width and height.
There are some reported problems with using RTE and chrome. try IE or firefox.
is working on a reply...