0

The best I can do is:

<img width='220' height='280' src='chrome-extension://okjaohhbffepkcfacapapdhkmnebgiba/johnny.jpg' class="me"/>

but this will only display the image in Chrome. Is there any way to do this so the image will show in all browsers?

Thanks in advance, Dzhon

Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339
  • 1
    You could base64 encode the image and include it in the HTML as a data URI: http://stackoverflow.com/questions/1207190/embedding-base64-images – Rory McCrossan Mar 27 '17 at 21:04

1 Answers1

1

You can encode the image as base64 and then call in in using CSS. There's a nice guide here: https://css-tricks.com/data-uris/

Jonny Perl
  • 133
  • 6
  • You also need a converter if you don't want to write one yourself: http://www.askapache.com/online-tools/base64-image-converter/ – user2867288 Mar 27 '17 at 21:18