So Im imagining i have thousands of photos and i need to search for one through a author for example. Is there a way to add metadata to the image from the umbraco backoffice itself?
karmentena
07/21/2024, 10:44 AM
Or what are the best practices when inserting/uploading images to the media. Any help is appreciated
a
Ambert
07/21/2024, 11:17 AM
A Media, is just a document type, so you can add properties for example tags or text fields for a description
Ambert
07/21/2024, 11:17 AM
It's however, not multilingual
k
karmentena
07/21/2024, 11:26 AM
okay thats great to know. Thank you!
k
kdx-perbol
07/22/2024, 7:20 AM
Also, there's no compositions, so you have to create the Author property on all document types (File, Image, Article, etc). But this is how we do it, adding metadata to media. It's highly useful. Actually, you may want to make your own custom media doctype for this, and stick to that, regardless of file type. But it wouldn't automatically be default when drag-and-dropping media to the media library.
For the un-multi-lingual-ness, if you restrict the properties on the media doctypes to links/pointers to content-tree items, you can still get the benefits of multi-lingualness, sort of. E.g., the author property isn't a textstring, but a content picker to an author item in the content tree that varies by culture.