Adding local image

I would really like to know why base64 encoding and decoding works instead of app.get_asset_rul()

1 Like

parijat.bhatt

me too. but thx dayxx369

It works, thx!

Came here looking to reference images in a parent/ different folders like so

html.Img(src="../../docs/images/some_img.png"),

hmm looks like there are other options for asset locations. i feel like that is low-level instantiation stuff that i wouldn’t trust to stick/ might be hardcoded in some places

>>> app.config

{
 'assets_folder': '/Users/me/Desktop/AIQC/aiqc/lab/assets',
 'assets_url_path': 'assets',
 'assets_ignore': '',
 'assets_external_path': '',