Last modified: 2014-11-03 17:21:41 UTC
see screenshot and DOM/Firebug: <img src="https://i.imgur.com/rsafvCX.png">
Do you have a live test case? If not, can you share the response from api.php?format=jsonfm&action=query&prop=imageinfo&iiprop=extmetadata&titles=<filename> ?
The problem is still present in version 0aab988 (10.07.2014). I am now going to try the api.php?format=jsonfm&action=query&prop=imageinfo&iiprop=extmetadata&titles=<filename> call.
(In reply to Tisza Gergő from comment #1) > Do you have a live test case? No > If not, can you share the response from > api. > php?format=jsonfm&action=query&prop=imageinfo&iiprop=extmetadata&titles=<file > name> ? Yes please: { "query": { "pages": { "-1": { "ns": 0, "title": "Greensmoothie1.jpg", "missing": "" } } } } This image results in [object Object] [object Object] on the MMV page.
Could you paste the API response again, with "File:" included on the file name? i.e. api.php?format=jsonfm&action=query&prop=imageinfo&iiprop=extmetadata&titles=File:Greensmoothie1.jpg
{ "query": { "pages": { "15668": { "pageid": 15668, "ns": 6, "title": "File:Greensmoothie1.jpg", "imagerepository": "local", "imageinfo": [ { "extmetadata": { "DateTime": { "value": "2014-05-26T17:09:14Z", "source": "mediawiki-metadata", "hidden": "" }, "ObjectName": { "value": { "_": "160592163" }, "source": "file-metadata", "hidden": "" }, "iimVersion": { "value": 2, "source": "file-metadata", "hidden": "" }, "Source": { "value": { "_": "iStockphoto" }, "source": "file-metadata", "hidden": "" }, "Artist": { "value": { "_": "pilipphoto" }, "source": "file-metadata" }, "SpecialInstructions": { "value": { "_": "NR" }, "source": "file-metadata", "hidden": "" }, "Credit": { "value": { "_": "Getty Images/iStockphoto" }, "source": "file-metadata", "hidden": "" }, "ImageDescription": { "value": { "_": "Healthy green smoothie" }, "source": "file-metadata" } } } ] } } } }
Thanks! The expected format would be "Artist": { "value": "pilipphoto", "source": "file-metadata" } so something weird must be going on with the EXIF data. Could you share the image?
This is still happening, e.g. on this file: https://en.wikipedia.org/wiki/Guglielmo_Marconi#mediaviewer/File:Guglielmo,_Marchese_Marconi._Colour_lithograph_by_Sir_L._War_Wellcome_V0003849.jpg