Talk:Key:flickr

From OpenStreetMap Wiki
Jump to navigation Jump to search

Support in softwares

Software Link Thumbnail Validation rule
iD No (Example) N/A No
JOSM No (Tag2Link) N/A Partly: Pictures linking rules
Overpass Turbo Yes (Example) N/A N/A
Osm website Yes (Example) N/A N/A
Historic Map Yes (Example) No N/A

--Pyrog (talk) 11:15, 12 November 2019 (UTC)

Full URL ?

> Indeed the Flickr ID (e.g. 14914754624) is not self-sufficient for a human to find back its URL, that also includes the user (e.g. 12353812@N00).

> However, it is simple for a machine to find the picture ID from the URL (using a regular expression), that's why using the URL as value seems to be a better solution.

> Moreover, it is how the majority of values are stored as of April 2017.

Using a pair user/image_id is shorter, avoid the many variant of the URL (see below).

Better? it could be the (shortened Base58) image id:

Should the "Flickr id" should accept albums and sets ?

--Pyrog (talk) 09:36, 12 November 2019 (UTC)

Examples:


For albums and sets I doubt, but for users, I'm sure it shouldn't.
And also for sure we shouldn't accept full URLs as it's a duplicate of {key|image} tag.
IMHO we can restrict to images as from an image we can find the galery and the user: we should pick up the best image for OSM. Not subjective at all^^. --Nospam2005 (talk) 19:41, 12 November 2019 (UTC)
With the "shorter" forms, it link only to one image
--Pyrog (talk) 20:31, 12 November 2019 (UTC)
Not really, it shows one image but in the context of a galery: see the thumbs below the image. And based on the ID you can probably construct other URLs like by adding /in/photostream/lightbox/ at the end that suites the needs of the app (like resizing the image).
Shorter, more coherent, less error prone, more flexible. --Nospam2005 (talk) 20:21, 12 November 2019 (UTC)
Right, not a link to one image, but one photopage :-)
> And based on the ID you can probably construct other URLs
Yes, like URL of the image file itself in desired size (see API).
--Pyrog (talk) 20:32, 12 November 2019 (UTC)