Open mitra42 opened 6 years ago
This is still broken - there seems no logical way to look at https://dweb.me/arc/archive.org/metadata/gd73-06-10.sbd.hollister.174.sbeok.shnf and figure out what the image should be for the album.
Asked Arthur on Slack ... but I think it should be a metadata field.
how to select the image for the album.
According to Tracey, the heuristic is complicated, with lots of edge cases, that makes it problematic to duplicate (and keep maintained).
Solution...
services/imgurl/foo
or services/img/foo?output=name` that returns the name of the file, rather than the actual imageservices/img/foo?scale=2
(syntax TBD) call is used to get a larger file which is added to the Dweb and urls' returned.Non-OK means any of: file/private is set - so only accessable to priviliged users file/format us unusable e.g. BMP, TIF, PDF etc file/size is too large (above a TBD amount)
All the details here are fuzzy, but give the idea of how to solve the problem.