Replace image of different size
-
I understand that if I use ERM to replace an image with one with a different size to the original, with the ‘Just replace the file’ option, all versions of the original are replaced with ones with the new sizes.
However, if the original has previously been inserted into a page, the <img> tag still includes the original size. Of course, if I insert the image again, it shows the new size.
original insert
<img src="https://nz.pat.gen.nz/wordpress/wp-content/uploads/test.jpg" alt="test" width="1280" height="854" class="aligncenter size-full wp-image-148" />
original insert after replacing media (identical to the above)
<img src="https://nz.pat.gen.nz/wordpress/wp-content/uploads/test.jpg" alt="test" width="1280" height="854" class="aligncenter size-full wp-image-148" />
Insert again after replacing the image (shows new width and height)
<img src="https://nz.pat.gen.nz/wordpress/wp-content/uploads/test.jpg" alt="test" width="3264" height="1836" class="aligncenter size-full wp-image-148" />
I just wanted to check that this is how ERM is supposede to work and that I have not missed something.
Using Coraline theme and ERM 3.0.4
Regards
Andy
- The topic ‘Replace image of different size’ is closed to new replies.