Hello,
Could someone help me on this little problem with image please ?
I get an image somewhere and i'd like to generate a cache version and put the cache url as src of img tag.
I use this code to generate this cached image :
use Gregwar\Image\Image;
Image::open($path_image)->cropResize(400, 400)->jpeg()
I got this path :
cache/images/c/e/0/d/2/ce0d2d3b97cfd70542dff5f03de15fb55ecb3d02.jpg
This is not routable as other images. (cached into images/....)
I tried all methods to force cache into regular cache directory (setActualCacheDir, setCacheDir). Without success.
Could someone give any tips please ?
Thanks in advance :-).
Thierry