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

1

1 Answer 1

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/

Sign up to request clarification or add additional context in comments.

1 Comment

You also need a converter if you don't want to write one yourself: askapache.com/online-tools/base64-image-converter

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.