{"id":34131,"date":"2015-01-26T18:21:38","date_gmt":"2015-01-26T18:21:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/otf-regenerate-thumbnails\/"},"modified":"2015-02-28T09:03:45","modified_gmt":"2015-02-28T09:03:45","slug":"otf-regenerate-thumbnails","status":"publish","type":"plugin","link":"https:\/\/ne.wordpress.org\/plugins\/otf-regenerate-thumbnails\/","author":8197245,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.3","stable_tag":"0.3","tested":"4.1.42","requires":"3.8","requires_php":"","requires_plugins":"","header_name":"OTF Regenerate Thumbnails","header_author":"Benjamin Intal - Gambit Technologies Inc","header_description":"","assets_banners_color":"22313f","last_updated":"2017-11-28 11:50:30","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=D2MK28E7BDLHC","header_plugin_uri":"http:\/\/github.com","header_author_uri":"http:\/\/gambit.ph","rating":4.6,"author_block_rating":0,"active_installs":4000,"downloads":146351,"num_ratings":19,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"2","2":0,"3":0,"4":0,"5":"17"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1076166","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1076166","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1076166","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1076166","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1076166","resolution":"1","location":"assets"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1076166","resolution":"2","location":"assets"},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"1076166","resolution":"3","location":"assets"},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":"1076166","resolution":"4","location":"assets"},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":"1076166","resolution":"5","location":"assets"}},"screenshots":{"1":"This is my Settings &gt; Media screen, the thumbnails specified as 80 x 80","2":"This is what my gallery looks like. Yup, it's 80 x 80","3":"I just changed my Settings &gt; Media thumbnails to 400 x 200","4":"But, my gallery thumbnails still look like it's all 80 x 80 :(","5":"After turning on the OTF Regenerate Thumbnails, my gallery now shows 400 x 200 thumbnails :)"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[608,5995,2703,1326,2956],"plugin_category":[50],"plugin_contributors":[79460],"plugin_business_model":[],"class_list":["post-34131","plugin","type-plugin","status-publish","hentry","plugin_tags-automatic","plugin_tags-regenerate","plugin_tags-resize","plugin_tags-thumbnail","plugin_tags-thumbnails","plugin_category-media","plugin_contributors-bfintal","plugin_committers-bfintal"],"banners":{"banner":"https:\/\/ps.w.org\/otf-regenerate-thumbnails\/assets\/banner-772x250.png?rev=1076166","banner_2x":"https:\/\/ps.w.org\/otf-regenerate-thumbnails\/assets\/banner-1544x500.png?rev=1076166","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/otf-regenerate-thumbnails\/assets\/icon-128x128.png?rev=1076166","icon_2x":"https:\/\/ps.w.org\/otf-regenerate-thumbnails\/assets\/icon-256x256.png?rev=1076166","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/otf-regenerate-thumbnails\/assets\/screenshot-1.jpg?rev=1076166","caption":"This is my Settings &gt; Media screen, the thumbnails specified as 80 x 80"},{"src":"https:\/\/ps.w.org\/otf-regenerate-thumbnails\/assets\/screenshot-2.jpg?rev=1076166","caption":"This is what my gallery looks like. Yup, it's 80 x 80"},{"src":"https:\/\/ps.w.org\/otf-regenerate-thumbnails\/assets\/screenshot-3.jpg?rev=1076166","caption":"I just changed my Settings &gt; Media thumbnails to 400 x 200"},{"src":"https:\/\/ps.w.org\/otf-regenerate-thumbnails\/assets\/screenshot-4.jpg?rev=1076166","caption":"But, my gallery thumbnails still look like it's all 80 x 80 :("},{"src":"https:\/\/ps.w.org\/otf-regenerate-thumbnails\/assets\/screenshot-5.jpg?rev=1076166","caption":"After turning on the OTF Regenerate Thumbnails, my gallery now shows 400 x 200 thumbnails :)"}],"raw_content":"<!--section=description-->\n<p>This plugin behaves similarly to <a href=\"https:\/\/wordpress.org\/plugins\/regenerate-thumbnails\/\">Regenerate Thumbnails<\/a> except that images are resized automatically \/ on the fly, when they are used. Once created, they won't be processed again.<\/p>\n\n<p>Your thumbnails will now resize when:<\/p>\n\n<ul>\n<li>Image Sizes in <strong>Settings &gt; Media<\/strong> is modified,<\/li>\n<li>Switching themes &amp; plugins with different thumbnail \/ featured image sizes<\/li>\n<\/ul>\n\n<p>No settings pages, just install and activate and things should work right away.<\/p>\n\n<p>Report bugs and help out in the code from the <a href=\"https:\/\/github.com\/gambitph\/WP-OTF-Regenerate-Thumbnails\">Github repository<\/a><\/p>\n\n<h4>What are you talking about?<\/h4>\n\n<p>Test it out. In your normal WordPress website set up, create a gallery using the <strong>Add Media<\/strong> button while editing a post or page and use thumbnails. Afterwards, check out your gallery.<\/p>\n\n<p>Notice the size of your thumbnails, most likely they're <strong>150 x 150<\/strong>. Do you see it? Great.<\/p>\n\n<p>Now head over to <strong>Settings &gt; Media<\/strong> and change your thumbnail size to something cooler, something rectangular, let's try <strong>400 x 200<\/strong>. Save it.<\/p>\n\n<p>Go back to your gallery that you previously created and refresh your browser. Most likely you <em>won't<\/em> be seeing <strong>400 x 200<\/strong> thumbnails there.<\/p>\n\n<p>OTF Regenerate Thumbnails fixes this for you.<\/p>\n\n<h4>Usage<\/h4>\n\n<p>OTF Regenerate Thumbnails should work right away, and your images should get resized when the dimensions get changed.<\/p>\n\n<p><strong>For developers &amp; tinkerers, ensuring your images get resized properly requires you to use WordPress' image functions to display featured images and image attachments.<\/strong> Don't worry, this is a good thing.<\/p>\n\n<p>Make sure you use these WordPress functions <strong>every time you display images<\/strong>:<\/p>\n\n<ul>\n<li><a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/wp_get_attachment_image_src\"><code>wp_get_attachment_image_src<\/code><\/a><\/li>\n<li><a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/wp_get_attachment_image\"><code>wp_get_attachment_image<\/code><\/a><\/li>\n<li><a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/the_post_thumbnail\"><code>the_post_thumbnail<\/code><\/a><\/li>\n<li><a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/get_the_post_thumbnail\"><code>get_the_post_thumbnail<\/code><\/a><\/li>\n<\/ul>\n\n<p>You can also add size <em>names<\/em> using <a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/add_image_size\"><code>add_image_size<\/code><\/a><\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Creates Resizes thumbnails on the fly<\/li>\n<li>Handles Image Size settings changes in <strong>Settings &gt; Media<\/strong><\/li>\n<li>Handles thumbnail \/ image size changes introduced by switching themes &amp; plugins<\/li>\n<li>Works automatically, no setup needed<\/li>\n<li>All calls to <code>the_post_thumbnail<\/code> and other thumbnail functions are handled automatically<\/li>\n<li>Handles image sizes created from <code>add_image_size<\/code>,<\/li>\n<li>Handles <a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/the_post_thumbnail\">2-item array sizes<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Head over to Plugins &gt; Add New in the admin<\/li>\n<li>Search for \"OFT Regenerate Thumbnails\"<\/li>\n<li>Install &amp; activate the plugin<\/li>\n<\/ol>\n\n<!--section=faq-->\n<ul>\n<li><a href=\"https:\/\/github.com\/gambitph\/WP-OTF-Regenerate-Thumbnails\">OTF Regenerate Thumbnails GitHub Repository<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/gambitph\/WP-OTF-Regenerate-Thumbnails\/issues\">Issue Tracker<\/a><\/li>\n<\/ul>\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Head over to Plugins &gt; Add New in the admin<\/li>\n<li>Search for \"OFT Regenerate Thumbnails\"<\/li>\n<li>Install &amp; activate the plugin<\/li>\n<\/ol><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.3<\/h4>\n\n<ul>\n<li>Add new image size to attachment meta so WordPress can perform actions on the image<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Bug fix: image size names which do not exist<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"Automatically regenerates your thumbnails on the fly when thumbnail sizes change.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ne.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/34131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ne.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ne.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ne.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=34131"}],"author":[{"embeddable":true,"href":"https:\/\/ne.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bfintal"}],"wp:attachment":[{"href":"https:\/\/ne.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=34131"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ne.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=34131"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ne.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=34131"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ne.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=34131"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ne.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=34131"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ne.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=34131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}