getBlobThumbnailUrl()
@blobs/sdk / utils/blobUtils / getBlobThumbnailUrl
getBlobThumbnailUrl(
sdk,blob,options?):string|undefined
Defined in: utils/blobUtils.ts:454
Build a thumbnail URL for a blob’s first image attachment.
Auto-injects an auth token for private blobs when includeToken is not
explicitly set.
Parameters
sdk
BlobsSDK instance.
blob
Blob whose first image to link.
options?
Optional URL options (includeToken defaults to !blob.is_public).
Returns
string | undefined
A thumbnail URL string, or undefined if the blob has no attachments.