add initial img API endpoints

This commit is contained in:
2023-07-12 11:35:43 +02:00
parent c6b82865d4
commit 385af0401b
5 changed files with 137 additions and 5 deletions

View File

@ -6,6 +6,7 @@ import "$lib/css/icon.css"
// all data shared with rest of page in card_data
export let card_data
export let image_preview_url
import { img } from '$lib/js/img_store';
@ -13,9 +14,9 @@ if(!card_data.tags){
card_data.tags = []
}
//locals
let new_tag
let image_preview_url
export function show_local_image(){