Have you seen our video tutorials? Check 'em out!

show image in module page

buinguyentuong - 3 months ago

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

ryanthompson - 3 months ago

You can use .make or .image off of the file field type and it will return an Image instance: http://pyrocms.com/documentation/streams-platform/image

So from your page type layout:

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