Last modified 3 years ago
File
A slice of type File will display content of a file if it is an image or video or will provide a link to download any other kind of file.
When Showing a Video or Image also a title and description if provided will be displayed
Preview
It will display a thumbnail of the image or video with the name of the image/video and will provide a link to the full version
If the will is not an image or video it will show a download link to the file itself.
Use
- view: file
- content: file_entry
File view expects to have a content with three lines:
- On the first line the url of the file to link
- On the second one the title of the file
- On the third and successive ones the description of the file
