Inject width and height for img tags