Tweak styling of images when setting width and height attributes