Photos from OneDrive to HTML

I have a huge library of media on cloud storage platforms. One such platform is Microsoft OneDrive. While I uploaded some files to OneDrive today, curiosity struck me as to whether OneDrive provided some type of HTML save URL for the files it stores. A…


This content originally appeared on DEV Community and was authored by Innovation Leadership

I have a huge library of media on cloud storage platforms. One such platform is Microsoft OneDrive. While I uploaded some files to OneDrive today, curiosity struck me as to whether OneDrive provided some type of HTML save URL for the files it stores. Although most storage providers enable the ability to embed a widget, not storage providers allow directly downloading the file via an <img> or <video> tag.

A quick search got me to the answer, and a bit of experimenting later yielded this answer.

What's the benefit of this

It is possible use Microsoft OneDrive as file storage for website media.

One downside of this approach, though, is the lack of metadata which would allow for putting a descriptive alt attribute on the elements. A non-descriptive alt attribute can be cobbled together from data which the API provides, yet, to do the intended use, this approach would have to be supplemented with a solution for alt.

Another Investigation Done

May this article save you this many tabs!

Closing the Tabs

Have A Good One ☝!


This content originally appeared on DEV Community and was authored by Innovation Leadership


Print Share Comment Cite Upload Translate Updates
APA

Innovation Leadership | Sciencx (2024-08-25T05:00:00+00:00) Photos from OneDrive to HTML. Retrieved from https://www.scien.cx/2024/08/25/photos-from-onedrive-to-html/

MLA
" » Photos from OneDrive to HTML." Innovation Leadership | Sciencx - Sunday August 25, 2024, https://www.scien.cx/2024/08/25/photos-from-onedrive-to-html/
HARVARD
Innovation Leadership | Sciencx Sunday August 25, 2024 » Photos from OneDrive to HTML., viewed ,<https://www.scien.cx/2024/08/25/photos-from-onedrive-to-html/>
VANCOUVER
Innovation Leadership | Sciencx - » Photos from OneDrive to HTML. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/08/25/photos-from-onedrive-to-html/
CHICAGO
" » Photos from OneDrive to HTML." Innovation Leadership | Sciencx - Accessed . https://www.scien.cx/2024/08/25/photos-from-onedrive-to-html/
IEEE
" » Photos from OneDrive to HTML." Innovation Leadership | Sciencx [Online]. Available: https://www.scien.cx/2024/08/25/photos-from-onedrive-to-html/. [Accessed: ]
rf:citation
» Photos from OneDrive to HTML | Innovation Leadership | Sciencx | https://www.scien.cx/2024/08/25/photos-from-onedrive-to-html/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.