{"id":1958565,"date":"2011-03-06T14:48:40","date_gmt":"2011-03-06T14:48:40","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/diifferent-thumbnail-size-for-custom-type-posts\/"},"modified":"2016-08-19T22:59:58","modified_gmt":"2016-08-19T22:59:58","slug":"diifferent-thumbnail-size-for-custom-type-posts","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/diifferent-thumbnail-size-for-custom-type-posts\/","title":{"rendered":"Diifferent Thumbnail Size for Custom Type Posts"},"content":{"rendered":"<p>Pls, if someone can solve this problem let me now!<\/p>\n<p>I would like function add_image_size add new image sizes only for specific custom post.<\/p>\n<p>F.e. if post type is &#8220;products&#8221; it creates product thumbnail 140*140, but if post type is &#8220;gallery&#8221; &#8211; 150*138.<\/p>\n<p>I need it to decrease the number of created pictures for my posts and consiquently to increase free disk space.<\/p>\n","protected":false},"template":"","class_list":["post-1958565","topic","type-topic","status-closed","hentry","topic-tag-add_image_size"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1958565","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1958565\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=1958565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}