0

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)?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.