Closed genby8 closed 1 year ago
I'm sorry. The question was worded incorrectly. Figured out why two different paths are generated. Due to the fact that the existence of the file on the disk is checked (as a result, the generation of different paths). I decided that when generating a feed of articles with an image gallery, and even with a retina, and with webp - as a result, checking the existence of files more than 1000 times is a bad option. Therefore, I corrected the route for liip_imagine_filter, so that the resulting images are generated and laid along the same path. And I use imagine_filter_cache.
my real file path:
/public/upload/my_media/filename.jpg
my config:
in Twig template use:
{{ asset('@photo:filename.jpg')|imagine_filter('my_thumb') }}
result:
https://my_domain/media/cache/resolve/my_thumb/@photo:filename.jpg
Photo not show. Why url not:
https://my_domain/upload/media/cache/my_thumb/upload/my_media/filename.jpg
From documentation (here)
Or are loaders not for that? Or does this functionality no longer exist, but remains in documentation?