{"id":50434,"date":"2016-08-23T02:11:14","date_gmt":"2016-08-23T02:11:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/specify-image-dimensions\/"},"modified":"2017-01-30T03:11:25","modified_gmt":"2017-01-30T03:11:25","slug":"specify-image-dimensions","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/specify-image-dimensions\/","author":14966830,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"1.1.0","tested":"4.7.33","requires":"1.5.1","requires_php":"","requires_plugins":"","header_name":"Specify Image Dimensions","header_author":"Fact Maven","header_description":"","assets_banners_color":"d2d3d3","last_updated":"2017-01-30 03:11:25","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/specify-image-dimensions\/","header_author_uri":"https:\/\/www.factmaven.com","rating":4.8,"author_block_rating":0,"active_installs":100,"downloads":8536,"num_ratings":6,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0.4":"<p>Fixed issue with SVG and webP images set to &quot;0&quot; for width and height<\/p>","1.0.2":"<p>Image thumbnails in Media gallery were not showing<\/p>","1.0.1":"<p>Both width\/height attributes weren&#039;t being inserted for some websites.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":1,"5":5},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1482991","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1584756","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.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1482991","resolution":"1","location":"assets"}},"screenshots":{"1":"Before and after result using the Specify Image Dimensions plugin from GTmetrix report."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[49661,1515,17301,133,19069],"plugin_category":[50],"plugin_contributors":[86111,86110,86482],"plugin_business_model":[],"class_list":["post-50434","plugin","type-plugin","status-closed","hentry","plugin_tags-dimensions","plugin_tags-gtmetrix","plugin_tags-height","plugin_tags-image","plugin_tags-img","plugin_category-media","plugin_contributors-ethanosullivan","plugin_contributors-factmaven","plugin_contributors-nateallen","plugin_committers-factmaven"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/specify-image-dimensions_d2d3d3.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/specify-image-dimensions\/assets\/screenshot-1.png?rev=1482991","caption":"Before and after result using the Specify Image Dimensions plugin from GTmetrix report."}],"raw_content":"<!--section=description-->\n<blockquote>\n  <p><strong>Specify Image Dimensions<\/strong> is a plugin that scans and inserts missing <code>width<\/code> and <code>height<\/code> in all <code>&lt;img&gt;<\/code> tags. Specifying the dimension allows for faster rendering by eliminating the need for unnecessary re-flows and repaints. This is particularly helpful with website speed tools such as <a href=\"https:\/\/gtmetrix.com\">GTmetrix<\/a> and <a href=\"https:\/\/developers.google.com\/speed\/pagespeed\">Google's PageSpeed<\/a>.<\/p>\n<\/blockquote>\n\n<h4>Before<\/h4>\n\n<pre><code>&lt;img src=\"http:\/\/example.com\/image.jpg\" title=\"Some Title\" \/&gt;\n&lt;img src=\"http:\/\/example.com\/vector.svg\" class=\"svg\" \/&gt;\n&lt;img src=\"http:\/\/example.com\/another-vector.webp\" \/&gt;\n<\/code><\/pre>\n\n<h4>After<\/h4>\n\n<pre><code>&lt;img src=\"http:\/\/example.com\/image.jpg\" title\"Some Title\" width=\"100\" height=\"25\" \/&gt;\n&lt;img src=\"http:\/\/example.com\/vector.svg\" class=\"svg\" width=\"100%\" height=\"auto\" \/&gt;\n&lt;img src=\"http:\/\/example.com\/another-vector.webp\" width=\"100%\" height=\"auto\" \/&gt;\n<\/code><\/pre>\n\n<h4>Contribute on GitHub<\/h4>\n\n<p>Want to help improve this plugin? Head over to our <a href=\"https:\/\/github.com\/factmaven\/specify-image-dimensions\">GitHub page<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the <code>Plugins<\/code> menu in WordPress.<\/li>\n<li>Let it settle in a for a minute and be amazed.<\/li>\n<\/ol>\n\n<p>If there are any issues or questions, head over to our <a href=\"https:\/\/wordpress.org\/plugins\/specify-image-dimensions\/faq\">FAQ<\/a> or our <a href=\"https:\/\/wordpress.org\/support\/plugin\/specify-image-dimensions\">Support<\/a> page.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>How does it work?<\/dt>\n<dd><p>The plugin will scan the contents in your posts and <a href=\"http:\/\/www.dictionary.com\/browse\/automagically\"><em>automagically<\/em><\/a> specify the image dimensions by adding the correct <code>width<\/code> and <code>height<\/code>.<\/p><\/dd>\n<dt>Why is this important?<\/dt>\n<dd><p>Specifying a <code>width<\/code> and <code>height<\/code> for all images allows for faster rendering by eliminating the need for unnecessary re-flows and repaints. This is particularly helpful with website speed tools such as <a href=\"https:\/\/gtmetrix.com\">GTmetrix<\/a> and <a href=\"https:\/\/developers.google.com\/speed\/pagespeed\">Google's PageSpeed<\/a>. More information can be found <a href=\"https:\/\/developers.google.com\/speed\/pagespeed\/module\/filter-image-optimize#resize-image-dimensions\">here<\/a>.<\/p><\/dd>\n<dt>I'd like to contribute to this plugin and help improve it<\/dt>\n<dd><p>That's easy! If you have a GitHub account, you're more than welcome to share your contribution to our plugin which can be found <a href=\"https:\/\/github.com\/factmaven\/specify-image-dimensions\">here<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<p><em>2016-01-29<\/em>\n* <strong>Fix<\/strong>: images with blank dimensions weren't being detected\n* Added support for additional <a href=\"http:\/\/www.w3schools.com\/tags\/tag_img.asp\"><code>img<\/code> attributes<\/a><\/p>\n\n<p>=1.0.4 =\n<em>2016-11-28<\/em>\n* <strong>Fix<\/strong>: SVG and webP images were given <code>0<\/code> width and height\n* Various code improvements<\/p>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li><em>2016-09-01<\/em><\/li>\n<li><strong>Fix<\/strong>: Thumbnail weren't showing up in <em>Pages<\/em><\/li>\n<li>Renamed plugin file from <code>index.php<\/code> to <code>specify-image-dimensions.php<\/code><\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li><em>2016-08-25<\/em><\/li>\n<li><strong>Fix<\/strong>: Thumbnails weren't showing in the <em>Media<\/em> library (thanks <a href=\"https:\/\/wordpress.org\/support\/topic\/bug-in-last-udpate\">ramonjosegn<\/a>)<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li><em>2016-08-24<\/em><\/li>\n<li><strong>Fix<\/strong>: Image dimensions were not being set<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li><em>2016-08-21<\/em><\/li>\n<li>Initial release, huzzah!<\/li>\n<\/ul>","raw_excerpt":"Automatically specify image dimensions that are missing width and\/or height attributes. Helps load faster and better ranking on website speed tools su &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/50434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=50434"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/factmaven"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=50434"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=50434"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=50434"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=50434"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=50434"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=50434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}