MT#7867 Repeat behavior of embedded image on "Change Image" button.

Also added functionality to convert link to embed image, but it
doesn't work on cross-domain links.