Talk:Key:flickr
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).
- flickr=29574758@N00/2253842382
- flickr=harrywood/9152693786
Better? it could be the (shortened Base58) image id:
- flickr=eWMWZh
- flickr=9152693786
Should the "Flickr id" should accept albums and sets ?
--Pyrog (talk) 09:36, 12 November 2019 (UTC)
Examples:
- One user
- One picture
- https://flic.kr/p/2h8YVBv
- Base58 short URL that redirect to https://www.flickr.com/photos/184008719@N06/48660722927/
- Use flickr.photos.getInfo API to get photopage and others metadata.
- http://www.flickr.com/photos/29574758@N00/2253842382/
- http://www.flickr.com/photos/harrywood/9152693786/
- http://www.flickr.com/photos/15947776@N06/1955465601/in/photostream
- http://www.flickr.com/photos/harrywood/6925434119/in/photostream
- https://www.flickr.com/photos/muvelodesiszint/33627263624/in/dateposted/
- https://www.flickr.com/photos/125134384@N03/14435716750/in/set-72157645565063116 (user still exist, picture and set seem deleted)
- https://www.flickr.com/photos/153759757@N08/shares/60H8d5 (image 153759757@N08/28140715728 shared)
- https://www.flickr.com/photos/150827403@N06/albums/72157683046404114/with/35697576506/ (albums containing picture 35697576506)
- https://www.flickr.com/photos/edloach/40151511275/in/album-72157691851091042/
- https://www.flickr.com/photos/kristenlanum/9410106994/in/photolist-fkxfY3-fki5cB-fkiCLM-acMRNx-pwWvz4-azWmY6-gLCiYf-BG1fe-azWmyK-o3hqg5-irLVbR-9nPYtd-eLoAAr-phErCW-pfxWNh-7oQCwq-ov9Ce9-7oLzna-fCCSLV-6C3Ts3-6BYK7g-gUvBdE-azZ2PS-dY1qds-6vjTEw-gWL7rP-o5k6Pj-
- https://flic.kr/p/2h8YVBv
- One picture (direct link to the image)
See API to know more about size, secrets…
To retrieve metadata of images with the following form https://farm{farm-id}.staticflickr.com/{server-id}/{id}_{o-secret}_o.jpg, use flickr.photos.getInfo API.- https://live.staticflickr.com/4227/34954821246_3dc53e634d_o.jpg (original size of picture 34954821246 of user mtbboy1993 (69376314@N07) )
- https://live.staticflickr.com/4227/34954821246_3dc53e634d_m.jpg (thumb 240x180)
- https://live.staticflickr.com/4227/34954821246_3dc53e634d_n.jpg (thumb 320x240)
- https://live.staticflickr.com/4227/34954821246_3dc53e634d_z.jpg (thumb 640x480)
- https://live.staticflickr.com/4192/33627263624_74f5aa582c_z.jpg (image 33627263624 of user muvelodesiszint)
- https://live.staticflickr.com/4161/34339088871_17d974a889_z.jpg (image 34339088871 of user muvelodesiszint)
- https://live.staticflickr.com/4171/34469496295_50cf715531_z.jpg (image 34469496295 of user muvelodesiszint)
- One album
- https://www.flickr.com/photos/127078033@N04/albums (all albums of user 127078033@N04)
- https://www.flickr.com/photos/150827403@N06/albums/72157682745294052
- One set
- 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
- flickr=eWMWZh
- flickr=9152693786
- --Pyrog (talk) 20:31, 12 November 2019 (UTC)
- With the "shorter" forms, it link only to one image
- 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)