Template tags

Blob URLs should not be exposed directly to users. Instead, use signed, short-lived URLs generated with these functions.

anchor.templatetags.anchor.blob_url(value: Blob | Attachment | None)

Return a signed URL for the given Attachment or Blob.

anchor.templatetags.anchor.representation_url(value: Variant | Blob | Attachment | None, **transformations)

Return a signed URL for a transformation of the given Attachment or Blob.