ptbello/wp-picture-support
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
=== Plugin Name === Contributors: ptbello Donate link: https://twitter.com/ptbello Tags: responsive, image, picture, art direction Requires at least: 3.0.1 Tested up to: 4.4 Stable tag: trunk License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Add support for <picture> thus enabling Art Direction on images == Description == Activates <picture> support through the `wp_get_attachment_picture` function, similar to `wp_get_attachment_image` You will have to define your additional image sizes and one or more picture formats as detailed in the source. To fully implement art direction, the [Manual Image Crop](https://wordpress.org/plugins/manual-image-crop/) is recommended == Installation == 1. Upload `wp-picture-support.php` to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Register additional additional image sizes and one or more picture formats as detailed in the source == Frequently Asked Questions == == Screenshots == == Changelog ==