Convert online image to base64 code

Append the output of

wget https://..../image.jpg && cat image.jpg | base64

to

data:image/jpeg;base64,