crop and scaleuniformly images in image grid views (media browser and media picker)