Change how to display img tags