Media Picker in Rich Text Editor appending image width / height on src tag
We are using Umbraco 7.1.8 on .net 4.5, backed with SQL Server.
When using the Richtext editor type for the body text (Umbraco.TinyMCEv3) to insert an image with the mediapicker (umbmediapicker),
the dimensions of the image are appended to the src as an argument.
e.g. src="/media/123/logo.jpg?width=222&height=50".
Page fails on save with YSOD: Illegal characters in path for CheckInvalidPathChars. Manually removing the arguments allows the page to save correctly.
Is there a way we can switch off the width and height arguments on the src tag? Or get them to save correctly?
We found the field for maximum size for inserted images under Richtext Editor (under Developer / data types). It was set to a value (800) which would automatically scale any image over 800 pixels high / wide.
We changed this to 0, which both removed the auto-resizing capability and stray arguments. All good!
Media Picker in Rich Text Editor appending image width / height on src tag
We are using Umbraco 7.1.8 on .net 4.5, backed with SQL Server.
When using the Richtext editor type for the body text (Umbraco.TinyMCEv3) to insert an image with the mediapicker (umbmediapicker), the dimensions of the image are appended to the src as an argument.
e.g. src="/media/123/logo.jpg?width=222&height=50".
Page fails on save with YSOD: Illegal characters in path for CheckInvalidPathChars. Manually removing the arguments allows the page to save correctly.
Is there a way we can switch off the width and height arguments on the src tag? Or get them to save correctly?
Many thanks!
Hi Luciox,
Solution here :
https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/47506-Images-are-scaled-in-RTE-umbraco-7
Thanks
Thanks for your reply, Alex.
We found the field for maximum size for inserted images under Richtext Editor (under Developer / data types). It was set to a value (800) which would automatically scale any image over 800 pixels high / wide.
We changed this to 0, which both removed the auto-resizing capability and stray arguments. All good!
is working on a reply...