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 was archived by the owner on Aug 29, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
@Luoxcat The table does not currently supports displaying images, markdown, or embedded components. Linking to the data type / presentation epic for follow up.
Transferring the issue over to the dash-table repo.
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.
Activity
Marc-Andre-Rivet commentedon Feb 25, 2019
@Luoxcat The table does not currently supports displaying images, markdown, or embedded components. Linking to the data type / presentation epic for follow up.
Transferring the issue over to the dash-table repo.
mflevine commentedon Apr 8, 2019
Is there any update on when this feature might be available?
ovdavid28 commentedon Apr 25, 2019
Any news about this? Interested on displaying a local image in a cell of datatable :)
CentreForRiskStudies commentedon Jun 13, 2019
We need this feature as well please. Increasingly dashboard tables are expected to have icons and image thumbnails in their cells.
JacobDPeters commentedon Aug 18, 2019
Any updates on this? It is a great use case.
smallstepman commentedon Aug 21, 2019
It would be very nice to have this
ricky1192 commentedon Aug 22, 2019
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.
alexcjohnson commentedon Jan 13, 2020
This is supported via markdown #606 - to be included in dash 1.8 (due out this week)
muzamalrana commentedon Feb 29, 2020
hi Can anyone help me here ? I am totally stuck. Trying to embedd image from link into dash table cell. Following is the code snippet.
@app.callback(
dash.dependencies.Output('my-data','data'),
[dash.dependencies.Input('my-graph1', 'clickData'),
dash.dependencies.Input('my_dropdown1', 'value'),
dash.dependencies.Input('radio_buttons', 'value'),
dash.dependencies.Input('my_dropdown3', 'value')]
)
def update_graph(click_data,dropdown,radio_button,dropdown3):
try:
genre1=click_data['points'][0]['customdata'][1]
except:
genre1='pop'
artist_data1=sm.artist_dataFrame(songs,artist,click_data,dropdown,radio_button)
print(artist_data1.head(1))
artist_data1=artist_data1[['artist_image','song_artist','monthly_listeners','artist_followers','artist_popularity','date_x']]
artist_data1['date_x']=pd.to_datetime(artist_data1['date_x'])
artist_data1=artist_data1[artist_data1['date_x']==artist_data1['date_x'].max()]
artist_data1=artist_data1.sort_values(by=radio_button,ascending=False).reset_index(drop=True)
artist_data1=artist_data1.drop(['date_x'],axis=1)
if dropdown3==0 or dropdown3=='All':
artist_data1=artist_data1
else:
artist_data1=artist_data1.head(dropdown3)
artist_data1['artist_image']=[html.Img(src=i) for i in artist_data1['artist_image']]
return artist_data1.to_dict('records')
muzamalrana commentedon Feb 29, 2020
it shows object Object in artist_image column of dash data table instead of image. please suggest what should I do or am I missing something ?
vedistar commentedon Apr 30, 2020
many thanks