Skip to main content

image_get_url

Function image_get_url 

Source
pub async fn image_get_url(
    repository_manager: State<'_, RepositoryManagerWrapper>,
    thumbnail_cache: State<'_, ThumbnailCacheWrapper>,
    db: State<'_, DatabaseWrapper>,
    repository_handle: String,
    request: GetImageRequest,
) -> Result<String, String>
Expand description

Get image as base64 data URL, caching if not already cached This extends the thumbnail system to serve all images through Rust with automatic caching