add $crop argument for image resizing