books_finder icon indicating copy to clipboard operation
books_finder copied to clipboard

Just a question.

Open tadaspetra opened this issue 3 years ago • 9 comments

I know this is just pulling from an API, but any chance you know why some cover images are faded, while most are not?

For example the first 2 are faded, but then the rest are fine. I'm just displaying them using the URL provided from the search call.

Screen Shot 2021-09-02 at 4 57 10 PM

tadaspetra avatar Sep 02 '21 21:09 tadaspetra

All of the imageLinks are faded?

bdlukaa avatar Sep 02 '21 23:09 bdlukaa

No only some of them. In the screenshot you can see the first 2 are faded but the second two are normal

tadaspetra avatar Sep 03 '21 00:09 tadaspetra

Every book returns a list of imageLinks. All links in the list are faded for the first two books?

When you get the link of the images and paste it on your browser, is it faded there too or only in flutter?

bdlukaa avatar Sep 03 '21 16:09 bdlukaa

I see what you mean. It’s not always the first two books. They’re random. I’ll try pasting them in browser and see if they’re faded there. I just assumed they would be. But I’ll check in an hour or so

tadaspetra avatar Sep 03 '21 16:09 tadaspetra

Yes to confirm it does come faded from API.

Faded Link: http://books.google.com/books/content?id=eq9XvgAACAAJ&printsec=frontcover&img=1&zoom=5&imgtk=AFLRE73QPpN5bT2X8zcPoQGJHqpuwBQoGNc_9J0wOdnc2b3eFpGjm73IMWDc803tLsVkbizbCS225Tu_GfhcnXKwYm399zrYStv72az7ojJXBl22cVrQRi-Y92t1ZmLzv5hGkke-jkFP&source=gbs_api

Normal Link: https://books.google.com/books/content?id=tcSMCwAAQBAJ&printsec=frontcover&img=1&zoom=5&edge=curl&source=gbs_api

tadaspetra avatar Sep 03 '21 17:09 tadaspetra

So it's probably the imgtk parameter in the url that's causing this maybe

bdlukaa avatar Sep 03 '21 17:09 bdlukaa

So it's probablu the imgtk parameter in the url that's causing this maybe

Im not sure about that. This link (with removed imgtk) also gives a faded image: http://books.google.com/books/content?id=eq9XvgAACAAJ&printsec=frontcover&img=1&zoom=5

tadaspetra avatar Sep 03 '21 17:09 tadaspetra

How can I deconstruct the images to display them in Flutter?

Stivenmore avatar Jan 24 '22 18:01 Stivenmore

@Stivenmore wdym?

bdlukaa avatar Jan 24 '22 23:01 bdlukaa

So it's probablu the imgtk parameter in the url that's causing this maybe

Im not sure about that. This link (with removed imgtk) also gives a faded image: http://books.google.com/books/content?id=eq9XvgAACAAJ&printsec=frontcover&img=1&zoom=5

Clicked that image again and it isn't faded anymore

tadaspetra avatar Apr 20 '23 15:04 tadaspetra