Added imagemagick for resizing images