lpaulsen93 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.
schplurtz Hi, 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.
grosse Have a look at tpl_img_meta() 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 https://www.dokuwiki.org/plugin:spatialhelper
lpaulsen93 @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 .changes files. In the entries marked with 'C'.