{"action":"opened","issue":{"url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/4552","repository_url":"https://api.github.com/repos/Yoast/wordpress-seo","labels_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/4552/labels{/name}","comments_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/4552/comments","events_url":"https://api.github.com/repos/Yoast/wordpress-seo/issues/4552/events","html_url":"https://github.com/Yoast/wordpress-seo/issues/4552","id":154415499,"number":4552,"title":"Create filters for image sizes in function check_featured_image_size()","user":{"login":"danwie","id":807280,"avatar_url":"https://avatars.githubusercontent.com/u/807280?v=3","gravatar_id":"","url":"https://api.github.com/users/danwie","html_url":"https://github.com/danwie","followers_url":"https://api.github.com/users/danwie/followers","following_url":"https://api.github.com/users/danwie/following{/other_user}","gists_url":"https://api.github.com/users/danwie/gists{/gist_id}","starred_url":"https://api.github.com/users/danwie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danwie/subscriptions","organizations_url":"https://api.github.com/users/danwie/orgs","repos_url":"https://api.github.com/users/danwie/repos","events_url":"https://api.github.com/users/danwie/events{/privacy}","received_events_url":"https://api.github.com/users/danwie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-12T07:31:33Z","updated_at":"2016-05-12T07:31:33Z","closed_at":null,"body":"In class-opengraph.php check_featured_image_size()-function the sizes are hardcoded. I suggest adding a filter so that it is possible to change these sizes.\r\n\r\nThis is the code I'm referring to:\r\n\r\n```\r\n// Get the width and height of the image.\r\n\t\tif ( $img_data[1] < 200 || $img_data[2] < 200 ) {\r\n\t\t\treturn false;\r\n\t\t}\r\n```\r\n\r\n### Technical info\r\n* WordPress version: 4.5.2\r\n* Yoast SEO version: 3.2.5\r\n"}}