The Umbraco Rich Text Editor has a setting where you can enter a Max Width for images inserted into the content. The images will then be scaled down if they are wider. The width and the height attributes of the img element will also be calculated from that scale.
But I have a problem that the value seems to be impossible to change. If I entered 600 as image max with previously it refuses to update. If i change the max with to 800 the value is saved for the property. But when I reload the page the value used in the code is still 600.
I have tried restarting the site. Clearing the image disc cache. Resaving the property multiple times. Removing the image and adding it again. Adding a new image. Nothing seems to help. The images are still being scaled down to 600 pixels width.
I am using Umbraco 13 but have seen this in previous versions as well.
Problem with Rich text editor image max width
Hi,
The Umbraco Rich Text Editor has a setting where you can enter a Max Width for images inserted into the content. The images will then be scaled down if they are wider. The width and the height attributes of the img element will also be calculated from that scale.
But I have a problem that the value seems to be impossible to change. If I entered 600 as image max with previously it refuses to update. If i change the max with to 800 the value is saved for the property. But when I reload the page the value used in the code is still 600. I have tried restarting the site. Clearing the image disc cache. Resaving the property multiple times. Removing the image and adding it again. Adding a new image. Nothing seems to help. The images are still being scaled down to 600 pixels width.
I am using Umbraco 13 but have seen this in previous versions as well.
Anyone else experienced this?
That is correct, the width saved in the rte is not dynamic, so changing the max width for the rte will only affect images inserted after the change
But that's the thing that doesn't seem to work. Even if I upload a new image after the change the width is still the old value.
do you maybe have more than one RTE dataType defined and are changing the value for the wrog one?
I have multiple RTE Data types but I have changed them all just to be sure.
Not sure then as it is working OK for me
is working on a reply...