===== Image, Video and Colour Blocks ===== These [[brandportal-blocks|blocks]] present a single image, a video or a list of colours. ==== Image ==== An image block shows an image and the text of the block as caption. {{:awp:brandportal-block-image.png?nolink|}} ^ Setting ^ Description ^ |Upload image \\ Remove image|The image of the block. It is stored in the block.| |Aspect ratio|Width:height, for example ''4:3'' or ''1:1''. The image fills a box of that shape and the width of the block and is cropped at the centre, so blocks of the same width and ratio next to each other get the same height. Empty (default): the image keeps its own shape.| |Download record|An item of the main object type. The block then shows a //Download// button, which opens the download dialog for this item with the configured download options. If no image is uploaded, the image of the item is shown. The search only finds items the user may see in AWP.| ==== Do / Don't ==== A Do / Don't block shows an image with a green "Do" or a red "Don't" marker and the text of the block as caption. It has the settings of the image block and one more: ^ Setting ^ Description ^ |Good example (Do)|Checked for an example to follow. Unchecked (default) for one to avoid.| {{:awp:brandportal-block-dodont.png?nolink|}} ==== Video ==== A video block shows the video of an item with its resolutions and subtitles, as in the [[previewview|Preview View]], and the text of the block as caption. It has no //Download// button. ^ Setting ^ Description ^ |Video record|The item whose video is shown. The search only offers items with a video.| |Start automatically (muted)|Starts the video by itself, without sound. Default: unchecked.| The video is taken from the file field of the Preview View. The block is only shown if that file is a video and the item has no alternate preview URL. While Fylr is still processing the video, the block shows the image of the item with a note. ==== Colours ==== A colours block shows its text and a swatch for each colour. Clicking a value copies it to the clipboard. {{:awp:brandportal-block-colours.png?nolink|}} ^ Setting ^ Description ^ |Name|Name of the colour.| |Hex|Hex value of the colour, for example ''#003da5'', typed or picked with the colour field next to it. Colours without a valid hex value are skipped.| |Other values (separated by ;)|Any number of further values, for example ''RGB 0 61 165; CMYK 100 70 0 0; Pantone 293 C''.|