Hi,
So I’ve already set up my app to take into account that some entries in the db aren’t cards and don’t have images but some of the cards don’t seem to have working images at the moment. For example, when I look at Elemental Eruption I get this: http://wow.zamimg.com/images/hearthstone/cards/enus/original/TB_CoOpv3_006.png
Is there anything I can do about this? Or is this a bug that will need to be taken care of? Elemental Eruption isn’t the only card but one of many. I can provide a list of cards if you want. You can also go here to see for yourself:https://hearthstonecodex.herokuapp.com/search
When you search by any of the classes greyed out card will appear. Please forgive the poor state of the site right now I’m in the middle of construction.
Thanks!
Participez à la discussion - ajoutez un commentaire ci-dessous:
Hearthhead doesn’t seem to have new card images for other locales besides enUS at the moment. For now all collectible cards with locale enUS should return the new URL though.
I noticed this as well, any news on this?
Currently (2017-01-06) the following card images are invalid. (from collectible cards only)
Invalid images
Invalid Gifs
I noticed that all cards in the Mean Streets of Gadgetzan set are using a new url format:
Regular/images
http://media.services.zam.com/v1/media/byName/hs/cards/enus/{CARD_ID}.png
Golden/gifs
http://media.services.zam.com/v1/media/byName/hs/cards/enus/animated/{CARD_ID}_premium.gif
This same url format is currently being used on the HearthHead website for all cards.
For example:
Barnes
http://www.hearthhead.com/cards/barnes
Image:
http://media.services.zam.com/v1/media/byName/hs/cards/enus/KAR_114.png
Gif:
http://media.services.zam.com/v1/media/byName/hs/cards/enus/animated/KAR_114_premium.gif
Seems like it might take some time for hearthead API to return correct images for some queries. Now “Fool’s bane” in russian locale returns english version for normal card and black outline for golden, while “Cat Trick” returns both black outlines. Maybe they’re using different databases for API and for their own site which are not updated in sync.
All cards are hosted by hearthhead. Unfortunately I have no control over the images they host. I’ll try and see if there is a common factor in which images work and which don’t.