Fixed it so ImageMagick actually resizes the uploaded image