Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
[SOLVED]How to access metadata of media files?
I got a hopefully simple question: how can I access metadata of media files?
I can query metadata of pages using
p_get_metadata()[/m]. I called the function for media files and also tried adding [m]media:
to the page/media id but that did not work which means the function did not return any data.
So I wonder if I have to call a different function or use a different path.
Thanks for any help in advance.
Media don't have metadata, only history (if enabled in config). Browse your data/media_meta directory, and you will find only .changes files and no .meta file.
Have a look at
in inc/template.php . This method is also called from the detail.php of many templates. Also the spatialhelper can extract coordinates from images. See
@schplurtz, @grosse: thanks for the answers.
For now I am just interested in the user who created the image and that seems to be stored in the
files. In the entries marked with 'C'.
Global DokuWiki Links