Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Thumbnails Field is meant to display small sized images in the UI, it may display several images at a time when used with JMESPath.

ThumbnailsField

ParameterTypeDefaultRequiredDescription
missing_iconstr'image_not_supported'FalseDefault text for missing images.

...

ParameterTypeDefaultRequiredDescription
typeDynamicFieldTypeTHUMBNAILSTrueType of the dynamic field.
detailUnion[str, None]-FalseDetail information for thumbnails.
full_sizeUnion[str, None]-FalseFull-size image information.
altUnion[str, None]-FalseAlternative text for thumbnails.
uniquebool-FalseUnique flag for thumbnails (Excluded from documentation).

Configuration Example

Code Block
languagepy
themeDJango
ThumbnailsField(field='metadata.cast[*].profile_path_w185', alt='metadata.cast[*].name', detail='metadata.cast[*].name', full_size='metadata.cast[*].profile_path')