[openstreetmap/openstreetmap-website] Render images on feature page (#2515)

Minh Nguyễn notifications at github.com
Thu Apr 23 02:12:26 UTC 2026


1ec5 left a comment (openstreetmap/openstreetmap-website#2515)

An implementation of the Wikimedia Commons portion of this feature would basically skip the step of requesting a Wikidata entity:

https://github.com/openstreetmap/openstreetmap-website/blob/d6136bb25a859d30721324b4f23bbcc371afc3c2/app/assets/javascripts/index/element.js#L65-L91

and directly embed a thumbnail of the named image:

https://github.com/openstreetmap/openstreetmap-website/blob/d6136bb25a859d30721324b4f23bbcc371afc3c2/app/assets/javascripts/index/element.js#L122-L128

However, #7027 proposes to replace this hotlinking with a proper Action API call.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2515#issuecomment-4301275289
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/2515/4301275289 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260422/f0c8aa44/attachment.htm>


More information about the rails-dev mailing list