Download the PHP package hirasso/focal-point-picker without Composer
On this page you can find all versions of the php package hirasso/focal-point-picker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hirasso/focal-point-picker
More information about hirasso/focal-point-picker
Files in hirasso/focal-point-picker
Download hirasso/focal-point-picker
More information about hirasso/focal-point-picker
Files in hirasso/focal-point-picker
Vendor hirasso
Package focal-point-picker
Short Description A WordPress plugin to set a custom focal point for your images, directly in the WP media grid
License GPL-3.0-or-later
Package focal-point-picker
Short Description A WordPress plugin to set a custom focal point for your images, directly in the WP media grid
License GPL-3.0-or-later
Please rate this library. Is it a good library?
Informations about the package focal-point-picker
focal-point-picker
Zero-dependency focal point>) picker for your WordPress website. Works with older installs, too.
Installation
Via Composer (recommended):
-
Install the plugin:
- Activate the plugin manually or using WP CLI:
Manually:
- Download and extract the plugin
- Copy the
focal-point-picker
folder into yourwp-content/plugins
folder - Activate the plugin via the plugins admin page – Done!
- Handle updates via afragen/git-updater
Data structure
You can retrieve the focal point for an image like this:
Output:
Usage in your templates
Object Position
Background Position
Using wp_get_attachment_image
If you are making use of the WordPress function wp_get_attachment_image()
, the plugin will automatically inject a class focal-point-image
and two custom css properties for you to use:
You can use that like this, for example:
All versions of focal-point-picker with dependencies
PHP Build Version
Package Version
The package hirasso/focal-point-picker contains the following files
Loading the files please wait ....