imagecache
imagecache copied to clipboard
[ \w\\.\\/\\-\\@\(\)]+
ImageServiceProviderLaravel5
if (is_string(config('imagecache.route'))) {
$filename_pattern = '[ \w\.\/\-\@()]+';
// route to access template applied image file
$app['router']->get(config('imagecache.route').'/{template}/{filename}', [
'uses' => 'Intervention\Image\ImageCacheController@getResponse',
'as' => 'imagecache'
])->where(['filename' => $filename_pattern]);
}
I have a normal image cache on the local environment homestead, but reported a 404 error on the centos7.1 system.