<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [Bug] web api : Image returned is not really a square image in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Bug-web-api-Image-returned-is-not-really-a-square-image/m-p/5178126#M2250</link>
    <description>Any dev can help?</description>
    <pubDate>Tue, 30 Mar 2021 03:08:27 GMT</pubDate>
    <dc:creator>teyou</dc:creator>
    <dc:date>2021-03-30T03:08:27Z</dc:date>
    <item>
      <title>[Bug] web api : Image returned is not really a square image</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Bug-web-api-Image-returned-is-not-really-a-square-image/m-p/4969892#M348</link>
      <description>&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Issue found on Apr 24th 2020.&lt;/P&gt;&lt;P&gt;Endpoint(s):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;GET /v1/artists/7heucQ89tyr0QHnwB4QO4j&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Scope(s):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;None (application is not using authentication)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Steps to reproduce:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Open terminal&lt;/LI&gt;&lt;LI&gt;run command :&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;curl -X "GET" "https://api.spotify.com/v1/artists/7heucQ89tyr0QHnwB4QO4j" -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer xxxx"&lt;/PRE&gt;&lt;P&gt;Expected behaviour:&lt;/P&gt;&lt;P&gt;The ratio of all images is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;1:1, and the actual&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;width&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;height&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of image is same.&lt;/P&gt;&lt;P&gt;Actual behaviour:&lt;/P&gt;&lt;P&gt;The ratio of all images is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;1:1, but the actual&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;width&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;height&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of image is different.&lt;BR /&gt;For example, the first image size is : width(361) * height(640)&lt;/P&gt;&lt;PRE&gt;{
  "external_urls" : {
    "spotify" : "https://open.spotify.com/artist/7heucQ89tyr0QHnwB4QO4j"
  },
  "followers" : {
    "href" : null,
    "total" : 26
  },
  "genres" : [ ],
  "href" : "https://api.spotify.com/v1/artists/7heucQ89tyr0QHnwB4QO4j",
  "id" : "7heucQ89tyr0QHnwB4QO4j",
  "images" : [ {
    "height" : 640,
    "url" : "https://i.scdn.co/image/6456bbf9ddfb47b9ea40d1206d208013aa84d372",
    "width" : 640
  }, {
    "height" : 320,
    "url" : "https://i.scdn.co/image/142c8c7c2520663cfb7a1666a8098cf23003a389",
    "width" : 320
  }, {
    "height" : 160,
    "url" : "https://i.scdn.co/image/b8bcb2be4f5fa71ec7ce88659ca7452a543375eb",
    "width" : 160
  } ],
  "name" : "Dapper Spider and The Moth Man",
  "popularity" : 1,
  "type" : "artist",
  "uri" : "spotify:artist:7heucQ89tyr0QHnwB4QO4j"
}&lt;/PRE&gt;&lt;P&gt;Image of first thumbnail which suppose to be in 640 x 640 dimension&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="first thumbnail" style="width: 361px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/117199i1A83A8CB2800F360/image-size/large?v=v2&amp;amp;px=999" role="button" title="6456bbf9ddfb47b9ea40d1206d208013aa84d372.jpeg" alt="first thumbnail" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;first thumbnail&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SImilar issue was discussed in github:&amp;nbsp;&lt;A href="https://github.com/spotify/web-api/issues/1552" target="_blank"&gt;https://github.com/spotify/web-api/issues/1552&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 07:07:25 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Bug-web-api-Image-returned-is-not-really-a-square-image/m-p/4969892#M348</guid>
      <dc:creator>teyou</dc:creator>
      <dc:date>2020-06-04T07:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: [Bug] web api : Image returned is not really a square image</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Bug-web-api-Image-returned-is-not-really-a-square-image/m-p/5178126#M2250</link>
      <description>Any dev can help?</description>
      <pubDate>Tue, 30 Mar 2021 03:08:27 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Bug-web-api-Image-returned-is-not-really-a-square-image/m-p/5178126#M2250</guid>
      <dc:creator>teyou</dc:creator>
      <dc:date>2021-03-30T03:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: [Bug] web api : Image returned is not really a square image</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Bug-web-api-Image-returned-is-not-really-a-square-image/m-p/5180348#M2272</link>
      <description>&lt;P&gt;Hi, this seems indeed like a bug. After I tried some other artist there are different inconsistencies. In this case all images are square but only 160x160 pixels even if stated different in the json.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
  "external_urls": {
    "spotify": "https://open.spotify.com/artist/0OdUWJ0sBjDrqHygGUXeCF"
  },
  "followers": {
    "href": null,
    "total": 865341
  },
  "genres": [
    "indie pop",
    "indie rock",
    "modern rock",
    "stomp and holler"
  ],
  "href": "https://api.spotify.com/v1/artists/0OdUWJ0sBjDrqHygGUXeCF",
  "id": "0OdUWJ0sBjDrqHygGUXeCF",
  "images": [
    {
      "height": 640,
      "url": "https://i.scdn.co/image/ab6761610000e5eb23923b7cae494ef1cd8da7bb",
      "width": 640
    },
    {
      "height": 320,
      "url": "https://i.scdn.co/image/ab6761610000517423923b7cae494ef1cd8da7bb",
      "width": 320
    },
    {
      "height": 160,
      "url": "https://i.scdn.co/image/ab6761610000f17823923b7cae494ef1cd8da7bb",
      "width": 160
    }
  ],
  "name": "Band of Horses",
  "popularity": 64,
  "type": "artist",
  "uri": "spotify:artist:0OdUWJ0sBjDrqHygGUXeCF"
}&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Apr 2021 13:08:18 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Bug-web-api-Image-returned-is-not-really-a-square-image/m-p/5180348#M2272</guid>
      <dc:creator>tobikabla</dc:creator>
      <dc:date>2021-04-02T13:08:18Z</dc:date>
    </item>
  </channel>
</rss>

