File uploads

File uploads is where you typically add images, although you have the option to add other common file types such as text files, pdfs, etc.


Please note for security there is no option to upload PHP files or files that can be executed on the server.


The code syntax for retrieving this in the view is as follows:-

{{ $fieldHandle['url'] }} (This will output the asset file url) {{ $fieldHandle['title'] }} (This will output the asset file alt title if required)

Eg. Usage within HTML

<img src='{{ $fieldHandle['url'] }}' alt='{{ $fieldHandle['title'] }}' />

By design we only allow you to upload a single asset here to make retrieval as simple as possible