Use .find and .replaceWith method to replace images