The Movie Database Support

Hi all,

There is a way to retrieve movie logos ? In the image of api documentation (https://developers.themoviedb.org/3/getting-started/images) is mention "company and networks logos are available in two format, svg and png ....", but what happens with movies logo ?

Thanks in advance.

24 replies (on page 2 of 2)

Jump to last post

Previous page

Hey guys, there's a new logos field being returned in the /images response now. Most of the cached items should have expired by now so you should be seeing the data now.

Request

$ curl -v "http://api.themoviedb.org/3/tv/82856/images?api_key=###"

* Trying 2600:9000:20be:5a00:c:174a:c400:93a1:80...
* Connected to api.themoviedb.org (2600:9000:20be:5a00:c:174a:c400:93a1) port 80 (#0)
> GET /3/tv/82856/images?api_key=### HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.76.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/json;charset=utf-8
< Content-Length: 18244
< Connection: keep-alive
< Date: Thu, 01 Jul 2021 16:36:57 GMT
< Server: openresty
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET, HEAD, POST, PUT, DELETE, OPTIONS
< Access-Control-Expose-Headers: ETag, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After, Content-Length, Content-Range
< Cache-Control: public, max-age=28800
< X-Memc: HIT
< X-Memc-Key: 99c32a3948d4fccf08a14115bb87caab6d543777
< X-Memc-Age: 4746
< X-Memc-Expires: 9857
< ETag: W/"31fb9afddb0c4d7a29dce04c9eeaa966"
< Vary: Accept-Encoding,Accept-Encoding,Accept-Encoding
< X-Cache: Miss from cloudfront
< Via: 1.1 a06140ffee86972bad90c57fc682df36.cloudfront.net (CloudFront)
< X-Amz-Cf-Pop: SEA19-C3
< X-Amz-Cf-Id: G5IAJheF5cxfRV5-YdWidcb5CFV5C5DqpduSgr-pmTbpr9hpAMagLw==
<
* Connection #0 to host api.themoviedb.org left intact

Response (truncated)

{
  "backdrops": [
    {
      "aspect_ratio": 1.778,
      "height": 2160,
      "iso_639_1": null,
      "file_path": "/9ijMGlJKqcslswWUzTEwScm82Gs.jpg",
      "vote_average": 5.582,
      "vote_count": 9,
      "width": 3840
    },
    ...
  ],
  "id": 82856,
  "logos": [
    {
      "aspect_ratio": 3.446,
      "height": 987,
      "iso_639_1": "en",
      "file_path": "/mnPy0uGoDmP3ejd0EeR7oyXDnGh.svg",
      "vote_average": 5.312,
      "vote_count": 1,
      "width": 3401
    },
    ...
  ],
  "posters": [
    {
      "aspect_ratio": 0.666,
      "height": 2500,
      "iso_639_1": "en",
      "file_path": "/sWgBv7LV2PRoQgkxwlibdGXKz1S.jpg",
      "vote_average": 6.196,
      "vote_count": 23,
      "width": 1666
    },
    ...
  ]
}

Cheers.

Thank you!

adding images as a appended response it comes up empty. {backdrops: [], logos: [], posters: []}

@deuss said:

adding images as a appended response it comes up empty. {backdrops: [], logos: [], posters: []}

I'm going to take a stab in the dark and assume you have a language param added to your query. As outlined in the the docs, you'll want to add a include_image_language param. For example:

https://api.themoviedb.org/3/tv/1399?api_key=###&language=en-US&append_to_response=images&include_image_language=null,en

Cheers.

Can movie logos be used? because I didn't find anything in the documentation about it, but it is implied in this post that it is. If possible, could you show me how to use these logos?

@4lecanavire said:
Can movie logos be used?

Yup. No problems.

because I didn't find anything in the documentation about it, but it is implied in this post that it is.

Some information you can find here.
https://www.themoviedb.org/bible/image/5bb6259dc3a3687983000001

If possible, could you show me how to use these logos?

These are .png or .svg files.
Some examples:
https://www.themoviedb.org/t/p/original/rzNaA2qBQHEi5Kb630VdmweFwXa.png
https://www.themoviedb.org/t/p/original/mFpXvaMvGHAymMsA9wvv4krZIle.png
https://www.themoviedb.org/t/p/original/nR3yloo9JaLjcZJh41y2iPJVZBj.png
https://www.themoviedb.org/t/p/original/Aa2JcQd5o9VlPlQAEazRSUgXBPa.png

I don't understand what you mean by how to use these logos.

@ticao2 said:

@4lecanavire said:
If possible, could you show me how to use these logos?

These are .png or .svg files.
Some examples:
https://www.themoviedb.org/t/p/original/rzNaA2qBQHEi5Kb630VdmweFwXa.png
https://www.themoviedb.org/t/p/original/mFpXvaMvGHAymMsA9wvv4krZIle.png
https://www.themoviedb.org/t/p/original/nR3yloo9JaLjcZJh41y2iPJVZBj.png
https://www.themoviedb.org/t/p/original/Aa2JcQd5o9VlPlQAEazRSUgXBPa.png

I don't understand what you mean by how to use these logos.

I guess the question was how to create a query to get movie logos? The example you gave is for the case where you know exactly where the image you want is located.

But how do I get image logos, for example by sending a request for trending movies? In other words, can I get the logo name information in the database by querying trending movies like I do with poster_path?

In any case, I'm interested in this question. I will be grateful for any answers.

@Go287 said:
I guess the question was how to create a query to get movie logos? The example you gave is for the case where you know exactly where the image you want is located.
But how do I get image logos, for example by sending a request for trending movies? In other words, can I get the logo name information in the database by querying trending movies like I do with poster_path?
In any case, I'm interested in this question. I will be grateful for any answers.

When you make an API Request for images in a movie, all image paths in the specified languages are in the response.
https://developers.themoviedb.org/3/movies/get-movie-images
Example

https://api.themoviedb.org/3/movie/532639/images?api_key=THE_KEY&language=en-US&include_image_language=null,en,fr,pt,de
backdrops   [ā€¦]
id  532639
logos   [ā€¦]
posters 
0   
aspect_ratio    0.667
height  2499
iso_639_1   "en"
file_path   "/g8sclIV4gj1TZqUpnL82hKOTK3B.jpg"
vote_average    5.516
vote_count  14
width   1666
1   
aspect_ratio    0.667
height  3000
iso_639_1   "en"
file_path   "/h32gl4a3QxQWNiNaR4Fc1uvLBkV.jpg"
vote_average    5.456
vote_count  11

Or also using the &append_to_response= feature
Example

https://api.themoviedb.org/3/movie/532639?api_key=THE_KEY&language=en-US&append_to_response=images&include_image_language=null,en,fr,pt,de
adult   false
backdrop_path   "/nnUQqlVZeEGuCRx8SaoCU4XVHJN.jpg"
belongs_to_collection   null
budget  0
genres  [ā€¦]
homepage    "https://www.disneyplus.cā€¦s/pinocchio/5fzcpc295rQn"
id  532639
imdb_id "tt4593060"
original_language   "en"
original_title  "Pinocchio"
overview    "A wooden puppet embarks ā€¦e to become a real boy."
popularity  116.766
poster_path "/g8sclIV4gj1TZqUpnL82hKOTK3B.jpg"
production_companies    [ā€¦]
production_countries    [ā€¦]
release_date    "2022-09-07"
revenue 0
runtime 105
spoken_languages    [ā€¦]
status  "Released"
tagline "The timeless classic."
title   "Pinocchio"
video   false
vote_average    6.522
vote_count  1322
images  
backdrops   [ā€¦]
logos   [ā€¦]
posters 
0   
aspect_ratio    0.667
height  2499
iso_639_1   "en"
file_path   "/g8sclIV4gj1TZqUpnL82hKOTK3B.jpg"
vote_average    5.516
vote_count  14
width   1666
1   
aspect_ratio    0.667
height  3000
iso_639_1   "en"
file_path   "/h32gl4a3QxQWNiNaR4Fc1uvLBkV.jpg"
vote_average    5.456
vote_count  11
width   2000
2   
aspect_ratio    0.667
height  2400
iso_639_1   "en"
file_path   "/62hEK8hGr9Ni0PyDwmsZHuhCLeq.jpg"
vote_average    5.398

??

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login