Added Imagick code to resize images.