{"id":16744,"date":"2012-02-02T17:37:06","date_gmt":"2012-02-02T17:37:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/theme-blvd-image-sizes\/"},"modified":"2015-09-07T20:48:51","modified_gmt":"2015-09-07T20:48:51","slug":"theme-blvd-image-sizes","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/theme-blvd-image-sizes\/","author":7834770,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.1","stable_tag":"1.1.1","tested":"","requires":"","requires_php":"","requires_plugins":"","header_name":"Theme Blvd Image Sizes","header_author":"Jason Bobich","header_description":"","assets_banners_color":"ffffff","last_updated":"2015-09-07 20:48:51","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/jasonbobich.com","rating":0,"author_block_rating":0,"active_installs":70,"downloads":9988,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":"1170594","resolution":"1544x500","location":"assets"},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1170594","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.1.0","1.1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1240158","resolution":"1","location":"assets"}},"screenshots":{"1":"Admin interface for plugin under <em>Appearance &gt; Theme Image Sizes<\/em>."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5735,2260,163,38778],"plugin_category":[50],"plugin_contributors":[79383],"plugin_business_model":[],"class_list":["post-16744","plugin","type-plugin","status-publish","hentry","plugin_tags-add_image_size","plugin_tags-crop","plugin_tags-images","plugin_tags-themeblvd","plugin_category-media","plugin_contributors-themeblvd","plugin_committers-themeblvd"],"banners":{"banner":"https:\/\/ps.w.org\/theme-blvd-image-sizes\/assets\/banner-772x250.jpg?rev=1170594","banner_2x":"https:\/\/ps.w.org\/theme-blvd-image-sizes\/assets\/banner-1544x500.jpg?rev=1170594","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/theme-blvd-image-sizes_ffffff.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/theme-blvd-image-sizes\/assets\/screenshot-1.png?rev=1240158","caption":"Admin interface for plugin under <em>Appearance &gt; Theme Image Sizes<\/em>."}],"raw_content":"<!--section=description-->\n<p>When using a theme with Theme Blvd Framework version 2.2+, this plugin allows you to change your theme's image sizes.<\/p>\n\n<h4>Who is this plugin for?<\/h4>\n\n<p>This plugin is mainly designed for non-developers who want to alter the image sizes for their Theme Blvd theme, but do not have the necessary development knowledge to manually make the changes from their child theme.<\/p>\n\n<h4>How does this plugin work?<\/h4>\n\n<p>As in any WordPress theme, we setup the image sizes by using WordPress's <em>add_image_size<\/em> function for each crop size. However, before these images are registered, the Theme Blvd framework applies a filter to an array of the sizes to be registered.<\/p>\n\n<p>This allows for all of the image sizes of the theme to be easily filtered from your child theme or from a plugin... and this would be an example of a plugin that utilizes that. :-)<\/p>\n\n<h4>Do I have to use this plugin to change image sizes?<\/h4>\n\n<p>Nope. In fact, if you understand the basics of PHP and the WordPress filters API, I would suggest that you do not use this plugin and instead, you manually make the changes from your child theme\u2019s <em>functions.php<\/em>. Realistically, running this plugin requires extra resources on your server that can be avoided by just manually make the change you want from your child theme.<\/p>\n\n<p>If you'd like to dive into a little development action, and accomplish the gist of what this plugin does, you'd simply do something like this from your child theme:<\/p>\n\n<pre><code>function my_image_sizes( $sizes ) {\n    $sizes['slider-large'] = array(\n        'width' =&gt; '960', \/\/ Your new width\n        'height' =&gt; '350' \/\/ Your new height\n    );\n    return $sizes;\n}\nadd_filter( 'themeblvd_image_sizes', 'my_image_sizes' );\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>theme-blvd-image-sizes<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to <em>Appearance &gt; Theme Image Sizes<\/em> to use.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.1.1 - 09\/07\/2015<\/h4>\n\n<ul>\n<li>Admin page moved to <em>Appearance &gt; Theme Image Sizes<\/em>.<\/li>\n<\/ul>\n\n<h4>1.1.0 - 05\/29\/2015<\/h4>\n\n<ul>\n<li>GlotPress compatibility.<\/li>\n<li>Added compatibility for themes with Theme Blvd Framework 2.5+.<\/li>\n<li>Removed compatibility for themes prior to Theme Blvd Framework 2.2.<\/li>\n<\/ul>\n\n<h4>1.0.5 - 07\/17\/2014<\/h4>\n\n<ul>\n<li>Added selection for custom crop mode on all image sizes (requires WordPress 3.9+).<\/li>\n<\/ul>\n\n<h4>1.0.4 - 09\/06\/2013<\/h4>\n\n<ul>\n<li>Added control for Mini Post Grid\/List thumbnail sizes.<\/li>\n<li>Fixed issue with \"Current Image Size\" not showing for each image section.<\/li>\n<\/ul>\n\n<h4>1.0.3 - 09\/19\/2012<\/h4>\n\n<ul>\n<li>Added compatibility for framework v2.2.<\/li>\n<\/ul>\n\n<h4>1.0.2 - 07\/02\/2012<\/h4>\n\n<ul>\n<li>Fixed small thumbnail sizes to match new \"tb_small\" ID used by updated themes.<\/li>\n<\/ul>\n\n<h4>1.0.1 - 05\/18\/2012<\/h4>\n\n<ul>\n<li>Added high priority to filter so it happens after the theme runs. This is needed in conjunction with the <a href=\"http:\/\/www.wpjumpstart.com\/framework-updates\/theme-blvd-2-1-0-framework-update\/\">Theme Blvd Framework 2.1 update<\/a>.<\/li>\n<li>On options page, adjusted changelog link at bottom to match Theme Blvd 2.1 framework's slightly modified format.<\/li>\n<li>On options page, changed \"Default Theme's Size\" string to say \"Current Image Size\" as it actually reflects what the current image size is set to.<\/li>\n<\/ul>\n\n<h4>1.0.0 - 02\/12\/2012<\/h4>\n\n<ul>\n<li>This is the first release.<\/li>\n<\/ul>","raw_excerpt":"When using a theme with Theme Blvd Framework version 2.2+, this plugin allows you to change your theme&#039;s image sizes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/16744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=16744"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/themeblvd"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=16744"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=16744"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=16744"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=16744"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=16744"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=16744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}