File

From The Smartest Wiki
Jump to: navigation, search

A file or asset is a single piece of content, such as an image or piece of text.

Files are stored in the media library, and can be one of several types.

Files are usually represented as an object of SmartestAsset (in the Smartest backend) or SmartestRenderableAsset (in frontend templates).

Every file that is not a binary image (JPEG, GIF or PNG), can choose a binary image file as its thumbnail image, meaning that all files can be represented in galleries or elsewhere, even if it is not possible to derive a thumbnail image from them directly.