You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
I don't know if this is what you are looking for but I managed to put the images in a table (bootstrap component) through a workaround.
Through the following function I transformed them into thumbnails and then wrote them in html components.
Hi,
I am new to dash (and html). But is there an alternative way to embed local images into the dash data_table instead of using dash_bootstrap_components? (I am running it locally). Unfortunately, my anaconda does not have access to this package. I can export my pandas dataframe as an HTML file, and the images appear via the tags in the cells perfectly.
What I tried was:
Straight import into a dash table. The path shows up instead of the image;
Tried using HTML.Table to create the table that way. Same result as the above.
I can embed images via app.layout = html.Div(html.Img(src=app.get_asset_url("file.png"))) (by adding the assets folder). However this is for one off images, rather than a data table.
Has there been any movement on this functionality?
I don't know if this is what you are looking for but I managed to put the images in a table (bootstrap component) through a workaround.
Through the following function I transformed them into thumbnails and then wrote them in html components.
At this point I put them in a column of a pandas dataframe in the layout.
This is the result:
P.S.
Originally posted by @ricky1192 in #383 (comment)
The text was updated successfully, but these errors were encountered: