twig - GRAV cms how to use image from theme folder in page theme -


i use image, user can upload theme folder , show on page. use media functions like: negate, lightbox, cropzoom on image. know how display images is, using code:

<img src="{{ url("theme://images/pages/" ~ category.image) }}" alt="{{ category.category_name|e }}" /> 

but can not use of above functions. more on trying use markdown if did set config , put markdown=“1” in template wasn't able use markdow – showing literal without compilation, when using code from: https://learn.getgrav.org/cookbook/general-recipes#wrapping-markdown-into-html

probably impossible becouse according grav documentation: https://learn.getgrav.org/content/image-linking

if decide use centralized image directory, advised directory should exist within /pages folder folder intended front-facing content.

i should read ealier.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -