【发布时间】:2015-06-08 18:31:02
【问题描述】:
这是带有图像缓存图像的产品页面:http://kmk-prof.kz/product/dx700lc
如您所见 - 图像未显示并具有以下 url:/imagecache/catalogue/dx700lc-541a82fe99ac3.jpg
但是当我尝试在我的上传文件夹中浏览该图像时 - http://kmk-prof.kz/uploads/dx700lc-541a82fe99ac3.jpg 它显示得很好。
为什么imagecache不能工作?
这是图像缓存配置.php:
'route' => 'imagecache',
'paths' => array(
public_path('uploads'),
),
'templates' => array(
'catalogue' => function($image) {
return $image->fit(213, 213);
},
),
【问题讨论】:
标签: laravel laravel-4 image-caching intervention