Basic Input Field
Created 6 years ago by eigotec

Hi, For a page i have made in the CMS i have given it an image upload field. I want to render that image on the page. So far i have tried: {{ }} with many variations including the raw postfix How can i output an image in to the template, that has been uploaded via the CMS?


ryanthompson  —  6 years ago

Check out for more information but it's returning a file instance. Which you can use as is or call make on to return an IMAGE instance and really get to work. To render the image most simply put do this:

{{|raw }} // Defaults to image output
{{|raw }} // Path example

You can learn more about the image instance here:

ryanthompson  —  6 years ago

Looks like file module docs are a little screwy but I'll sort it out. Keep an eye on: