Answer the question
In order to leave comments, you need to log in
Using Intervention\Imagecache in Laravel. How to get the path to the image in the cache?
I can’t figure out how to use the package for caching images in Laravel Intervention \ Imagecache.
I do it as in the instructions:
$path = 'Полный путь до картинки';
$img = Image::cache(function($image) use($path) {
return $image->make($path)->resize(300, 200)->greyscale();
}, 10, true);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question