API returns links without images (member-uploaded covers only)
SnakBug Collectors
Bliv bruger af LibraryThing, hvis du vil skrive et indlæg
1owensco
Greetings,
I am fetching my book collections using the API, which returns all of my books and metadata correctly, except for links to the book's cover.
If I select a member-uploaded cover for one of my books, the image link, while accessible, does not return the selected image.
Here's an example:
https://www.librarything.com/work/9191913/covers/194082916
For member-uploaded covers, the API returns an image link like this:
http://pics.cdn.librarything.com/picsizes/83/29/8329246e3efdaf85969386c676741414...
But if I select an Amazon cover for the same book, the API returns a valid image:
http://ecx.images-amazon.com/images/P/1595586431.01._SCLZZZZZZZ_.jpg
Obviously, the former image is hosted by LT and served via CDN, while the latter is an Amazon-provided image.
Could this be because the covers API is currently down, as I noticed here (scroll down to comments)?
https://blog.librarything.com/main/2008/08/a-million-free-covers-from-librarythi...
I apologize if this question is redundant; any insight would be greatly appreciated!
P.S. I can use Amazon covers for all my books; I don't mind. It's just that some of the member-uploaded covers are higher resolution, and I would prefer to use them! Also, I assume uploading my own covers would result in the same issue, plus it kind of defeats the point of an open-source solution!
I am fetching my book collections using the API, which returns all of my books and metadata correctly, except for links to the book's cover.
If I select a member-uploaded cover for one of my books, the image link, while accessible, does not return the selected image.
Here's an example:
https://www.librarything.com/work/9191913/covers/194082916
For member-uploaded covers, the API returns an image link like this:
http://pics.cdn.librarything.com/picsizes/83/29/8329246e3efdaf85969386c676741414...
But if I select an Amazon cover for the same book, the API returns a valid image:
http://ecx.images-amazon.com/images/P/1595586431.01._SCLZZZZZZZ_.jpg
Obviously, the former image is hosted by LT and served via CDN, while the latter is an Amazon-provided image.
Could this be because the covers API is currently down, as I noticed here (scroll down to comments)?
https://blog.librarything.com/main/2008/08/a-million-free-covers-from-librarythi...
I apologize if this question is redundant; any insight would be greatly appreciated!
P.S. I can use Amazon covers for all my books; I don't mind. It's just that some of the member-uploaded covers are higher resolution, and I would prefer to use them! Also, I assume uploading my own covers would result in the same issue, plus it kind of defeats the point of an open-source solution!
2MarthaJeanne
Be aware that Amazon covers can change without notification. It is usually better not to use Amazon covers.
4gilroy
Please also realize that most of the API have been shut off during the upgrades from LT 1.0 to LT 2.0
5kristilabrie
>1 owensco: As >4 gilroy: states, our APIs have been disabled so I wouldn't expect anything until we re-enable them. Closing, but please follow this thread for updates: https://www.librarything.com/topic/325722. Thanks for your patience!