<p>The Historical Objects map already does something like this (but only if the image is attached to a historic/heritage object). <a href="http://gk.historic.place/historische_objekte/l/en/index.html?zoom=19&lat=52.08415&lon=-4.65913&select=w523373884&pid=HaHbHcSaHe" rel="nofollow">Example</a>.</p>
<p>The query tool of standard carto already does give a working, clickable link to a wikimedia_commons object if one has been specified. <a href="https://www.openstreetmap.org/way/523373884" rel="nofollow">Excample</a>. So it ought not to be too hard to make it display the image instead. Whether or not that is considered desirable by a majority is another matter.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2515?email_source=notifications&email_token=AAK2OLO4JQBCJR4I3TOEDHTQ6YH5VA5CNFSM4KJGMTY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJN2QLA#issuecomment-576432172">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKAN2E4VORWE65IKCTQ6YH5VANCNFSM4KJGMTYQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLKWOTGCZFPKOJ67CBDQ6YH5VA5CNFSM4KJGMTY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJN2QLA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2515?email_source=notifications\u0026email_token=AAK2OLO4JQBCJR4I3TOEDHTQ6YH5VA5CNFSM4KJGMTY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJN2QLA#issuecomment-576432172",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2515?email_source=notifications\u0026email_token=AAK2OLO4JQBCJR4I3TOEDHTQ6YH5VA5CNFSM4KJGMTY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJN2QLA#issuecomment-576432172",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>