changes for image dimensions