URL to get episode image?

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
vinhtq115
Posts: 1
Joined: Thu Mar 07, 2019 7:55 am

URL to get episode image?

Postby vinhtq115 » Thu Mar 07, 2019 8:01 am

Hi. I'm trying to fetch the image with the filename received from /series/{id}/episodes but I don't know what is the correct link.
For example, if

Code: Select all

"filename": "episodes/282994/5090203.jpg"
, what is the correct URL to get the image? I tried https://api.thetvdb.com/episodes/282994/5090203.jpg but it seems to be incorrect.

Thank you in advance.

Mistywing
Posts: 1197
Joined: Mon Jul 18, 2016 1:59 am

Re: URL to get episode image?

Postby Mistywing » Thu Mar 07, 2019 6:40 pm

Seems to be:

Code: Select all

https://www.thetvdb.com/banners/

when you right click > view image on the site, so probably the same?

Perhaps since you are going through api it has to be:

Code: Select all

https://api.thetvdb.com/banners/

instead.

mackworth
Posts: 30
Joined: Sun Jun 02, 2013 8:36 pm

Re: URL to get episode image?

Postby mackworth » Fri Mar 08, 2019 3:50 pm

The base string is

Code: Select all

http://thetvdb.com/banners/


so it would be

Code: Select all

http://thetvdb.com/banners/episodes/282994/5090203.jpg


Which does work...