adds width height scaling to all images