Laravel 拉威尔多重图像问题
我需要在一个没有拉链的Laravel响应下载功能中下载多个图像,因为我需要在一个新页面上以角度显示图像。谢谢。如果我理解正确,您希望服务器提供图像吗Laravel 拉威尔多重图像问题,laravel,laravel-5,laravel-4,Laravel,Laravel 5,Laravel 4,我需要在一个没有拉链的Laravel响应下载功能中下载多个图像,因为我需要在一个新页面上以角度显示图像。谢谢。如果我理解正确,您希望服务器提供图像吗 public function get($path) { $file = Storage::disk('s3')->get($pathToImage); return response($file, 200)->header('Content-Type', 'image/png'); }
public function get($path)
{
$file = Storage::disk('s3')->get($pathToImage);
return response($file, 200)->header('Content-Type', 'image/png');
}