Replacing images inline (to be completed)