Hi,
i'm trying to get image url from twig template. As the page Where to put your media files explains, in my twig template i put
{% set image_url = page.find('/images').media['myphoto.jpg'] %}
and in user/pages/images i put the image myphoto.jpg, but image_url is blank! What am i doing wrong??
Also in twig you can't use streams like:
ìmage://myphoto.jpg?
Grav is claiming unexpected punctuation if i put in {{}} and unexpected tag if i put in {%%}