Resized images to 40x40 ignoring aspect ratio