{"id":1902,"date":"2020-09-22T13:53:41","date_gmt":"2020-09-22T13:53:41","guid":{"rendered":"https:\/\/support.itscope.hostpress.me\/?post_type=kb&#038;p=1902"},"modified":"2020-09-22T13:53:43","modified_gmt":"2020-09-22T13:53:43","slug":"distributor-and-manufacturer-logos","status":"publish","type":"kb","link":"https:\/\/guide.itscope.com\/en\/kb\/distributor-and-manufacturer-logos\/","title":{"rendered":"Distributor and manufacturer logos"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Availability of company logos<\/h2>\n\n\n\n<p>All image links from ITscope are delivered via a dedicated service, in order to ensure better performance and cache utilisation.\u00a0The links are used consistently across the ITscope platform, exports, and API formats.<\/p>\n\n\n\n<p>Use the following URL structure to obtain the company logo of a distributor:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;media.itscope.com\/img\/distributor\/14<\/code><\/pre>\n\n\n\n<p>or for manufacturers:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;media.itscope.com\/img\/manufacturer\/7<\/code><\/pre>\n\n\n\n<p>The parameter at the end of the URL is the manufacturer or distributor ID.\u00a0The manufacturer or distributor IDs can be retrieved with\u00a0a manufacturer API query:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;api.itscope.com\/2.1\/company\/manufacturer\/company.xml<\/code><\/pre>\n\n\n\n<p>or for distributors:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;api.itscope.com\/2.1\/company\/distributor\/company.xml<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Adaptation of logos<\/h2>\n\n\n\n<p>Images can also be transformed on the fly with additional parameters, e.g. fit or cut to size.\u00a0For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;media.itscope.com\/img\/distributor\/14?fitcrop=64x64dBOTH&amp;greyscale=1<\/code><\/pre>\n\n\n\n<p>available:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Fit picture:<ul><li>fit={$width}x{$height}<\/li><\/ul><\/li><li>Fit picture with cropping:<ul><li>fitcrop={$width}x{$height}d[NONE|VERTICAL|HORIZONTAL|BOTH|SMALLEST]<\/li><\/ul><\/li><li>Fit picture and rotate:<ul><li>smart={$width}x{$height}x{$rotation}<\/li><\/ul><\/li><li>Image in greyscale:<ul><li>greyscale=1<\/li><\/ul><\/li><\/ul>\n\n\n\n<p>The results are kept in the cache for one day.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Availability of company logos All image links from ITscope are delivered via a dedicated service, in order to ensure better performance and cache utilisation.\u00a0The links are used consistently across the &#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[182],"kbtag":[],"class_list":["post-1902","kb","type-kb","status-publish","hentry","kbtopic-api-methods-products-metadata"],"_links":{"self":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb\/1902","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/comments?post=1902"}],"version-history":[{"count":1,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb\/1902\/revisions"}],"predecessor-version":[{"id":1903,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb\/1902\/revisions\/1903"}],"wp:attachment":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/media?parent=1902"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kbtopic?post=1902"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kbtag?post=1902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}