WordPress plugin intelligence profile

Presswell Art Direction

Manage focal-point cropping and on-demand custom image generation in WordPress.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version2.2.0
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.6 · PHP 7.4
Directory statusactive
Last directory update15 Oct 202618d ago
Active installations80Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 2 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Presswell Art Direction version 2.2.0 as active, updated 18d ago and tested up to WordPress 7.1.

Overview

About this plugin

Presswell Art Direction gives editors and developers a consistent way to manage image sizing and cropping in WordPress. Define custom sizes, set focal points, and generate non-core thumbnails only when they are actually needed.

Features

  • Control image cropping with focal points
  • Define custom image sizes and nested thumbnail variants
  • Select custom image sizes directly in the WordPress editor
  • Show a different crop on desktop, tablet, and mobile with the Art Directed Image block
  • Use image sets and focal points in the core Image block
  • Dynamically generate non-core thumbnails on demand
  • Run batch regeneration from a dedicated Media tool
  • Use Endpoint Mode when filename-based 404 handoff is unavailable
  • Import/export size definitions

Focal Point Cropping

Set a focal point for Media Library images to control how custom crops are framed. Mark the visual subject once, and generated thumbnails stay centered on the correct area.

Custom Size Management

Use the settings UI to define and edit custom image sizes. Registered sizes become available when inserting images in the block editor and classic editor workflows.

Block Editor

The Art Directed Image block shows a different image set on desktop, tablet, and mobile, switching at the same breakpoints as the editor’s device preview. Turn on Image Block Support to use your image sets in the core Image block too: its Resolution lists your sets, it serves their real crops instead of CSS aspect ratios, and its sidebar has the focal point editor.

Dynamic Generation + Endpoint Mode

Presswell Art Direction avoids generating every custom size at upload time. WordPress core sizes are generated normally, while custom sizes are generated when requested in templates or by URL.

&size=... ). The plugin includes an automatic compatibility check in wp-admin.

Regenerator

The Regenerator screen (Media -> Regenerate Thumbnails) builds a queue and processes images in batches, with progress metrics and retry handling for failed jobs. You can choose exactly which sizes should be regenerated.

Documentation

Public APIs

pwad_add_image_size( $args )

  • $args (array) (required) – Keyed array containing name, key, height, width, crop (optional), and optionally thumbnails values.
  • Thumbnail keys are prefixed with parent’s key like [size]-[thumbnail].

Example:

pwad_add_image_size( array( 'name' => 'Square', 'key' => 'square', 'width' => '1200', 'height' => '1200', 'crop' => true, 'thumbnails' => array( array( 'name' => 'Medium', 'key' => 'medium', 'width' => '800', 'height' => '800', ), array( 'name' => 'Small', 'key' => 'small', 'width' => '400', 'height' => '400', ), ), ) );

pwad_get_image_sizes()

Returns all currently-available sizes (WordPress defaults + plugin/theme sizes + Presswell Art Direction sizes/thumbnails).

Example:

$sizes = pwad_get_image_sizes();

pwad_get_image( $attachment_ID, $size_key, $attr = array() )

  • $attachment_ID (int) (required) – ID of image attachment
  • $size_key (string) (required) – Image size identifier ( thumbnail, large, my-size, my-size-mobile, etc.)
  • $attr (array) (optional) – HTML attributes passed to the rendered image element

Returns an image tag.

Example:

$square_large = pwad_get_image( $img_ID, ‘square’ );

$square_small = pwad_get_image( $img_ID, ‘square-small’, array( ‘class’ => ‘hero-image’ ) );

pwad_get_image_src( $attachment_ID, $size_key )

  • $attachment_ID (int) (required) – ID of image attachment
  • $size_key (string) (required) – Image size identifier ( thumbnail, large, my-size, my-size-mobile, etc.)

Returns a keyed array containing the file, url, path, height, width, and mime-type values.

Example:

$square_large = pwad_get_image_src( $img_ID, ‘square’ );

$square_small = pwad_get_image_src( $img_ID, ‘square-small’ );

Actions

pwad/image_generated

Fires immediately after a custom crop file is generated so themes/plugins can queue optimizers or post-processing.

Arguments:

  • $data[‘attachment_id’] (int) – Attachment ID.
  • $data[‘size_key’] (string) – Requested size key.
  • $data[‘size_data’] (array) – Registered/requested size definition used for generation.
  • $data[‘source_file’] (string) – Source file path from attachment metadata (relative upload path).
  • $data[‘generated_file’] (string) – Generated filename for the new crop.

Example:

add_action( ‘pwad/image_generated’, function( $data ) {

// Example: queue optimization when a new crop is created.

if (! empty( $data[‘attachment_id’] ) &&! empty( $data[‘generated_file’] ) ) {

do_action( ‘my_optimizer/queue’, $data );

}

} );

Filters

pwad_status_rows

Add or change rows in the status table on the Debug tab.

  • $rows (array) – Rows, each an array with label (string), value (string), and status ( ok, warning, or empty). Rows without a string label and value are skipped.

Example:

add_filter( ‘pwad_status_rows’, function( $rows ) {

$rows[] = array( ‘label’ => ‘Image CDN’, ‘value’ => ‘Connected’, ‘status’ => ‘ok’ );

return $rows;

} );

WP-CLI

wp pwad regenerate

Regenerates thumbnails.

  • --queue-per-page=<int> (default 200 )
  • --batch-size=<int> (default 25 )
  • --target-seconds=<float> (default 5 )
  • --resume-last=<0|1> (default 0, continue the last interrupted queue)

wp pwad cache-prime

Generates thumbnails based on sitemap.

  • --sitemap=<url> (optional, auto-detects from robots.txt/common sitemap endpoints)
  • --page-limit=<int> (default unlimited)
  • --image-limit=<int> (default unlimited)
  • --delay-ms=<int> (default 250 )
  • --timeout=<float> (default 10 )
  • --retries=<int> (default 2 )
  • --include-external=<0|1> (default 0 )
  • --force-endpoint=<0|1> (default 0 )
  • --report-csv=<path> (optional, writes per-URL status/error report; relative paths are saved privately in wp-content/uploads/pwad-logs/ )
  • --dry-run=<0|1> (default 0 )
  • --resume-last=<0|1> (default 0, continue the last interrupted prime run)

wp pwad cache-prune

Deletes cached thumbnails not referenced in sitemap.

  • --sitemap=<url> (optional, auto-detects from robots.txt/common sitemap endpoints)
  • --batch-size=<int> (default 200 )
  • --max-images=<int> (default unlimited)
  • --page-limit=<int> (default unlimited)
  • --image-limit=<int> (default unlimited)
  • --timeout=<float> (default 10 )
  • --grace-days=<int> (default 0, uses file modified time)
  • --include-external=<0|1> (default 0 )
  • --force-endpoint=<0|1> (default 0 )
  • --report-csv=<path> (optional, writes per-file keep/delete report; relative paths are saved privately in wp-content/uploads/pwad-logs/ )
  • --dry-run=<0|1> (default 1 )
  • --resume-last=<0|1> (default 0, continue the last interrupted prune run)

wp pwad cache-clean

Deletes all cached thumbnails.

  • --batch-size=<int> (default 200 )
  • --max-images=<int> (default unlimited)
  • --include-default=<0|1> (default 0 )
  • --dry-run=<0|1> (default 1 )
  • --resume-last=<0|1> (default 0, continue the last interrupted clean run)

wp pwad queue-status

Shows resumable/remaining state for regenerator and cache queue runs.

Privacy

Presswell Art Direction does not send image data to external services. It processes image metadata and generated variants within your WordPress environment.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • focal point
  • responsive images
  • crop
  • image
  • thumbnails
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.6 · PHP 7.4
Update activity15 Oct 202618d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version2.1.12.2.0
WordPress compatibility7.1.27.1.3
WordPress requirement6.26.6
PHP requirementNot listed7.4
Version2.0.22.1.1
WordPress compatibility7.0.47.1.2
WordPress requirement6.16.2
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.