image will be resized to  three different sizes