{"id":43080,"date":"2016-04-08T09:04:26","date_gmt":"2016-04-08T09:04:26","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/make-it-srcset\/"},"modified":"2017-05-10T08:35:05","modified_gmt":"2017-05-10T08:35:05","slug":"make-it-srcset","status":"publish","type":"plugin","link":"https:\/\/en-nz.wordpress.org\/plugins\/make-it-srcset\/","author":14278760,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0","stable_tag":"4.5","tested":"4.7.33","requires":"4.4.0","requires_php":"","requires_plugins":"","header_name":"Make it Srcset","header_author":"Samuel Brynolf","header_description":"","assets_banners_color":"","last_updated":"2017-05-10 08:35:05","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/note-to-helf.com\/wordpress-plugin-make-it-srcset\/","header_author_uri":"http:\/\/note-to-helf.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":4996,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["4.5"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[23898],"plugin_category":[],"plugin_contributors":[140839],"plugin_business_model":[],"class_list":["post-43080","plugin","type-plugin","status-publish","hentry","plugin_tags-srcset","plugin_contributors-samuelbrynolf","plugin_committers-samuelbrynolf"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/make-it-srcset.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Enables shortcode and a template tag to pull srcset-images by attachment-ID. This is way to complement Wordpress built in srcset which (of course) focus on the_content images and media-sizes set in settings. Sometimes your layout demands more, or you are using other ways to put images on your site not using the_thumbnail or the_content. For example, I use Advanced Custom Fields a lot pulling images by ID.<\/p>\n\n<p>Generated markup are built from a set of custom image-sizes and the, by you configured, (srcset-)sizes attribute. Use the settings-page for default values and override them any time in the shortcode or template tag.<\/p>\n\n<ul>\n<li>Option: Generate shortcodes by the mediauploader-button. <\/li>\n<li>Option: Enable simple lightbox functionality. <\/li>\n<li>Option: Enable lazhyloading. Option: Include Picturefill<\/li>\n<\/ul>\n\n<p>Full documentation at <a href=\"https:\/\/samuelbrynolf.se\/2016\/04\/wordpress-plugin-make-it-srcset\/\" title=\"Wordpress plugin: Make it Srcset\">WordPress plugin: Make it Srcset<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Use the Plugins-&gt;Make it Srcset settings-page to configure the plugin<\/li>\n<li>Make sure to set the settings for step 1-2, before uploading images that will be used, since Wordpress creates image sizes on upload. (Fallback image-sizes are the ones you set up in Settings-&gt;Media)<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<p>Bugfix blurry images when uploaded image is smaller than required by settings. Add styling to lightbox overlay.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Use the Plugins-&gt;Make it Srcset settings-page to configure the plugin<\/li>\n<li>Make sure to set the settings for step 1-2, before uploading images that will be used, since Wordpress creates image sizes on upload. (Fallback image-sizes are the ones you set up in Settings-&gt;Media)<\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"Wordpress already uses srcset now. What I missed out was a simple way to handle and customize the sizes attribute\u2014in my opion what makes srcset so eff &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/43080","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=43080"}],"author":[{"embeddable":true,"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/samuelbrynolf"}],"wp:attachment":[{"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=43080"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=43080"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=43080"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=43080"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=43080"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/en-nz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=43080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}