Linux 软件免费装
Banner图

DualFocus

开发者 kiepower
更新时间 2026年11月19日 21:49
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

gallery gutenberg responsive images image cropping image focal point

下载

1.0.3 1.0.4

详情介绍:

DualFocus lets editors set one or two focal points for an image in the WordPress Media Library or Gutenberg editor. When a theme or block already uses a cover crop, DualFocus adjusts the image position to help keep those points visible. Features: The plugin is free. An optional donation link is provided in the admin interface.

安装:

  1. Upload the plugin ZIP under Plugins > Add New Plugin > Upload Plugin, or install it from the WordPress Plugin Directory once available.
  2. Activate DualFocus.
  3. Choose an image in Media Library or the Gutenberg editor and set one or two focal points.
  4. Save the points and use an Image block or gallery with a cropped aspect ratio to see the effect.
  5. Optionally use Settings > DualFocus Preview to compare crops.

常见问题:

Does DualFocus crop or change the original image?

No. It only adjusts positioning where a crop already exists.

Why does moving a focal point sometimes appear to do nothing?

If the image is fully visible, there is no crop to reposition. Try a cropped aspect ratio in the block settings.

Can I use different focal points for two copies of the same image?

Not in this version. Focal points are saved on the shared Media Library attachment.

Does it work with Divi 5?

A separate Divi 5 companion integration is planned. Core focuses on WordPress and Gutenberg.

Does it load third-party scripts or require a paid service?

No. Admin screens use WordPress-bundled jQuery; frontend positioning uses vanilla JavaScript. Donations are optional.

更新日志:

1.0.4 1.0.2 1.0.1 1.0.0