這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

安裝方式

  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〉的開發相關工作。

參與者

將〈Make it Srcset〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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