During the extensive changes to OneDrive in the past couple of years the ability to use it as a source for embedded images in websites and blogs had been removed. This popular feature has been made available again.
The “more” option on the menu bar of an image now offers “Embed” as an option.
The three illustrations above show the dialog panel where you request to generate the URL to the image in OneDrive. The generated URL includes the size requested. There is an option to specify the size of the image that will be provided. Offered sizes are: Original Size – the full size stored in OneDrive, Large – 1024px, Medium – 660px, and Small – 256px.
A “Include HTML tags” checkbox when selected provides the code with the “img src=” and size tag code surrounding the URL. For use in Live Writer leave that box unchecked.
Live Writer works with the generated URL just as you would expect.
Caution: The image provided is the size specified in the OneDrive option. It can readily be scaled to another size, however, scaling up is not a good idea since resolution will be reduced. This is illustrated in the two following images. The first one was specified as 256px. If you are viewing this on a decent size monitor you will notice that it is fuzzy due to being scaled up. The second image was specified as 1024px and will be scaled down and look much sharper.
Hurray and a tip ‘o the hat! Many thanks to the Microsoft OneDrive team for getting this highly valued feature back into OneDrive.
© 2016 Ludwig Keck