Clean up img tag