brows3r — TypeScript API
    Preparing search index...

    Function useThumbnailUrl

    • Returns a loopback thumbnail URL for image entries, or null for non-image entries and while the URL is being fetched.

      Mounts: calls mediaRegister to mint a signed session token. Unmounts: calls mediaRevoke to free the token.

      Returns null immediately for non-image entries (no media call).

      Parameters

      • profileId: string | null | undefined

        Profile whose credentials service the S3 request.

      • bucket: string | null | undefined

        S3 bucket containing the entry.

      • entry: ObjectEntry

        The listing entry to thumbnail.

      Returns string | null