Locally hosted image in pop up window

I'm using Rstudio and leaflet to create a fairly simple interactive map. I'm currently trying to add a picture in the pop up window but even though it's working if i do it with a picture hosted online, it doesn't work with a picture hosted locally. I saw a couple of posts about this but still couldn't find a solution.

leaflet() %>%
  addTiles(group = "OSM (default)") %>%
  addProviderTiles(providers$CartoDB.Positron,group = "Carto.DB") %>% 
  addProviderTiles('Esri.WorldImagery',group="Satellite") %>% 
  addPolygons(data=Adm1,fillOpacity=0.7,weight=1.2,color="red",group="Adm") %>% 
  addPolygons(data=Adm0,fillOpacity=0.7,weight=1.2,group="Adm") %>% 
                    popup=paste0("<b>Enumerator: </b>",Education$Enumerator, "<br>",
                                 "<b>Team: </b>", Education$Team,"<br>",
                                 '<img width="150" height="100" src="C:/Users/celin/Desktop/single_image_1_1_17_0_23i69.jpg">'),

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.