Title: Make it Srcset
Author: Samuel Brynolf
Published: <strong>2016 年 4 月 8 日</strong>
Last modified: 2017 年 5 月 10 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/make-it-srcset.svg)

# Make it Srcset

 作者：[Samuel Brynolf](https://profiles.wordpress.org/samuelbrynolf/)

[下载](https://downloads.wordpress.org/plugin/make-it-srcset.4.5.zip)

 * [详情](https://cn.wordpress.org/plugins/make-it-srcset/#description)
 * [评价](https://cn.wordpress.org/plugins/make-it-srcset/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/make-it-srcset/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/make-it-srcset/#developers)

 [支持](https://wordpress.org/support/plugin/make-it-srcset/)

## 描述

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](https://samuelbrynolf.se/2016/04/wordpress-plugin-make-it-srcset/)

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Plugins->Make it Srcset settings-page to configure the plugin
 4. 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->Media)

## 常见问题

  Installation Instructions

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Plugins->Make it Srcset settings-page to configure the plugin
 4. 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->Media)

## 评价

此插件暂无评价。

## 贡献者及开发者

「Make it Srcset」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Samuel Brynolf ](https://profiles.wordpress.org/samuelbrynolf/)

[帮助将「Make it Srcset」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/make-it-srcset)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/make-it-srcset/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/make-it-srcset/)，或通过[RSS](https://plugins.trac.wordpress.org/log/make-it-srcset/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/make-it-srcset/)。

## 更新日志

Bugfix blurry images when uploaded image is smaller than required by settings. Add
styling to lightbox overlay.

## 额外信息

 *  版本 **2.0**
 *  最后更新：**9 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.4.0 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/make-it-srcset/)
 * 标签
 * [srcset](https://cn.wordpress.org/plugins/tags/srcset/)
 *  [高级视图](https://cn.wordpress.org/plugins/make-it-srcset/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/make-it-srcset/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/make-it-srcset/reviews/)

## 贡献者

 *   [ Samuel Brynolf ](https://profiles.wordpress.org/samuelbrynolf/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/make-it-srcset/)