Skip to main content

thumbnail_save

Function thumbnail_save 

Source
pub async fn thumbnail_save(
    db: State<'_, DatabaseWrapper>,
    thumbnail_cache: State<'_, ThumbnailCacheWrapper>,
    item_id: String,
    image_type: String,
    tag: String,
    url: String,
) -> Result<String, String>
Expand description

Download and save a thumbnail to cache Returns the local file path on success