Make it Srcset

Make it Srcset Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 2,844 downloads
Make it Srcset Icon

Try plugin: Make it Srcset

We'll create fresh WordPress site with Make it Srcset installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Make it Srcset

Wordpress already uses srcset now. What I missed out was a simple way to handle and customize the sizes attribute—in my opion what makes srcset so eff …

0


0


0


0


0

updated: 7 years ago
since: 8 years ago
author: Samuel Brynolf

Description

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.

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.

  • Option: Generate shortcodes by the mediauploader-button.
  • Option: Enable simple lightbox functionality.
  • Option: Enable lazhyloading. Option: Include Picturefill

Full documentation at WordPress plugin: Make it Srcset