Preserve image size while replacing an image in visual editor

Question

I have inserted several images on different pages using the visual editor. If I want to replace such an image, I click on the image in the visual editor, click on the icon to edit the image followed by the button “replace”.

Now I would expect a new image to be inserted at the same size as the original image. For example, if the original image was inserted in the size “large” and I now replace an image according to the above steps, the new image should also be inserted in the size “large” by default. Instead, the new image is inserted by default with the size from the value “imgsize” in the cookie wp-settings. From what I’ve found so far, this value only updates when a new image is inserted via the visual editor.

Can I adjust this behavior, so the new image size automatically matches the original one (if available)?

0
, , WanDal 3 years 2019-10-21T11:39:53-05:00 0 Answers 81 views 0

Leave an answer

Browse
Browse