Eranga Wijethunga
Eranga Wijethunga

Reputation: 215

Umbraco 11 - Create media from Stream

I'm developing a package for the new Umbraco 11 version, In there I need to create media and get its URL using byte stream. Seems it's a bit different from the older version such as version 7/8. Can anybody suggest me way of doing it or clear documentation or an article that I can get some support?

Upvotes: 2

Views: 398

Answers (2)

Eranga Wijethunga
Eranga Wijethunga

Reputation: 215

I got the support from Umbraco forum for this issue and now it's solved. Please follow this URL https://our.umbraco.com/forum/using-umbraco-and-getting-started/110866-umbraco-11-create-media-from-stream

Upvotes: 0

Jannik Anker
Jannik Anker

Reputation: 3425

I think you're looking for this example, it's from the official Umbraco 9+ docs: https://docs.umbraco.com/umbraco-cms/reference/management/services/mediaservice#creating-a-new-media-item-from-a-stream

Upvotes: 2

Related Questions