show image in module page

buinguyentuong - 10 months ago

in module page i have create one field file. How to show image .

ryanthompson - 10 months ago

You can use .make or .image off of the file field type and it will return an Image instance:

So from your page type layout:

{{ page.your_field.image|raw }} 
{{, 100)|raw }}