Reinstate image meta tag, handling the case where the image is a complex object