Image optimization

Learn how to optimize the images served by the PandaScore REST API.

PandaScore's content delivery network (CDN) serves images in three different resolution:

  • Default — the original image
  • Normalized — image scaled to 800*800px
  • Thumbnail — image scaled to 200*200px

Team logos

When retrieving a team, the team object contains an image_url field. This is the default image.

For the team ID 125063, the image_url field is something like:
https://cdn.pandascore.co/images/team/image/125063/sengoku-gaming-gnat0l9c.png

To retrieve the normalized image, you can prefix normal_ to the last portion of the URL, for example:
https://cdn.pandascore.co/images/team/image/125063/normal_sengoku-gaming-gnat0l9c.png

To retrieve the thumbnail image, you can prefix thumb_ to the last portion of the URL, for example:
https://cdn.pandascore.co/images/team/image/125063/thumb_sengoku-gaming-gnat0l9c.png