audible.com covers don't post with coverthing

DiscussieBug Collectors

Sluit je aan bij LibraryThing om te posten.

audible.com covers don't post with coverthing

1dchaikin
nov 10, 2021, 8:52 pm

Hi. I have noticed that I cannot post an audible.com cover on the Talk threads using the coverthing_dynamic. Just curious why not.

example code, without carrots: img src="http://www.librarything.com/coverthing_dynamic.php? book=207291748&width=125"

image link goes through amazon:
https://images-na.ssl-images-amazon.com/images/I/41iOh0VMn7L._SX450_SY635_SCLZZZ...

Two examples:
1. working cover :
book: https://www.librarything.com/work/2225/details/201819021
code: img src="http://www.librarything.com/coverthing_dynamic.php? book=201819021&width=125"
image:

2. broken cover:
book: https://www.librarything.com/work/24942369/details/207291748
code: img src="http://www.librarything.com/coverthing_dynamic.php? book=207291748&width=125"
image:

2gilroy
nov 11, 2021, 5:54 am

Never heard of the coverrthing dynamic. What is it?

3lorax
nov 11, 2021, 8:17 am

Yeah, I've never heard of it either.

My guess would be that it's an Amazon thing - is there any way to test this with a print book (not Audible) where it goes looking at Amazon rather than on LT?

4kristilabrie
Bewerkt: nov 30, 2021, 11:01 am

Hmm. The image seems to be defaulting to "book=1", noted in timspalding's post—on the thread discussing this feature—back in 2008: https://www.librarything.com/topic/52073#955211

Checking with the developers about this to see if there's a valid explanation.

ETA: we do have APIs disabled, which may be related, I'll have to check.

5lorax
nov 11, 2021, 10:00 am

Not at all the point, but why is that particular audiobook separated out? Unabridged audiobooks (which have become the norm now that publishers don't have to deal with the limitations of physical media presented by "books on tape") should be combined with the print editions. Is there something going on with this to edge it more toward "audio adaptation" (multi-person cast, sound effects, etc) than "audiobook"?

6bnielsen
nov 11, 2021, 11:07 am

>5 lorax: Good point. Now you've made me curious, too.

7dchaikin
nov 11, 2021, 9:04 pm

>3 lorax: my other amazon covers post fine...although I don't have a ready example. Only audible books fail.

>5 lorax: It's not just this one, all my audible.com books have the same problem.

>4 kristilabrie: Thanks for taking a shot at this problem. I was wondering if this was a permissions issue. A whole lot of images will not post on Talk threads because LT has a really tight restriction. I was wondering if there was some kind of permission issue on the threads for audible image addresses... one that didn't apply to book pages.

8AnnieMod
nov 11, 2021, 9:15 pm

>7 dchaikin: Dan,

coverthing_dynamic.php is an old old module that may or may not work with a lot of the newer stuff - I had not seen anyone use it in years if I am honest.

I never use that for my cover images - it basically tells LT to pick up the image for that specific book and show that - so if you change it OR Amazon changes it, it will also change in your thread. So I am not surprised it has weird things happening with formats that were not linkable to Amazon from here in 2008. :) Most likely this is tied to the formats (a much later development)... It is a normal Amazon image in their usual /images/I/ space - so that's not permissions (or should not be) - this is the same space for all covers, regardless of formats.

9AnnieMod
nov 11, 2021, 9:16 pm

>4 kristilabrie: If it was the APIs, it won't be failing just for audiobooks though.

10timspalding
nov 12, 2021, 12:17 pm

Hi. This has nothing to do with the API.

I'll take a look at what's going on soon.

11dchaikin
nov 13, 2021, 12:31 pm

>10 timspalding: thank you!

12timspalding
nov 24, 2021, 4:08 pm

Kristi: Can you get me a bug for this?

13kristilabrie
Bewerkt: nov 30, 2021, 11:11 am

>12 timspalding: Okay, testing. (FWIW, I'm not sure how the coverthing_dynamic code has worked in the past, or should be working now.)

1. Go to https://www.librarything.com/work/24942369/details/207291748 and note the cover image, an Amazon (ASIN) image: https://images-na.ssl-images-amazon.com/images/I/41iOh0VMn7L._SX175_SCLZZZZZZZ_....
2. Go back to this thread and create a new post with the following coverthing_dynamic code: img src="http://www.librarything.com/coverthing_dynamic.php? book=207291748&width=125"

Shown below:



Bug: if the coverthing_dynamic code is working as it should be, the cover image in Step 1 would display. Instead, some default cover image (noted as book=1 from your post here: https://www.librarything.com/topic/52073#955211) is showing.

Working images

1. https://www.librarything.com/work/2225/details/201819021 (image id 6297354)



2. Testing my own Amazon (ASIN) cover:

https://www.librarything.com/work/25427181/covers/193022564



Haven't narrowed down yet. Will keep testing.