WP SmartCrop

March 18, 2024

WP SmartCrop Plugin

WP SmartCrop will crop your images on-the-fly to match your CSS, keeping the main focal point in view.

WP SmartCrop allows you to set the ‘focal point’ of any image, right from the media library, then crops your images to match your css rules (no more squished aspect ratios), keeping that focal point, not only in view, but as near as possible to a ‘rule of thirds’ position in the image. The results are powerful, composed photos at any screen size, with any constraints.

Learn More at: https://www.wpsmartcrop.com/

  • Visually select your images’ focal points with an intuitive click-based interface
  • Quickly enable or disable smart-cropping on a per-image basis.
  • Easily target only the images you want to style, with the img.wpsmartcrop-image selector
  • Automatic image preloader, so your users never see partially loaded images again
  • Semantic HTML5/CSS3 for modern browsers, with automatic fallback to non-semantic HTML4/CSS2 for older browsers.
  • Lightweight and fast processing of images, even inside post content
  • Fully compatible with common caching and optimization plugins and solutions, such as W3 Total Cache, Wordfence, WPEngine’s EverCache, Better WordPress Minify, and Google’s PageSpeed Module.
  • Lets you take full advantage of the new responsive srcset features added in WordPress 4.4, to make the most of your images.
  • NEW! Legacy support for existing cropped thumb sizes allows you to see improvements, right out of the box, without changing your CSS!

Compatibility

WP SmartCrop has been fully tested in the following browsers:

  • Safari
  • Chrome
  • Firefox
  • Microsoft Edge

This is by no means an exhaustive list of supported devices; it just represents our primary target platforms.

Website

https://www.wpsmartcrop.com/

Please Rate/Review and Enjoy

Your Ratings and Reviews help us to direct our development, and help other users know what to expect.

Installation

You can use the built in installer and upgrader, or you can install the plugin
manually.

From your WordPress dashboard

  1. Visit ‘Plugins > Add New’
  2. Search for ‘WP SmartCrop’
  3. Activate WP SmartCrop from your Plugins page.

From WordPress.org

  1. Download WP SmartCrop.
  2. Upload the ‘wp-smartcrop’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
  3. Activate WP SmartCrop from your Plugins page.

Once Activated

  1. Upload images to your Media Library
  2. Select an image in the library, so that image details appear on the right
  3. Check the Enable Smart Cropping checkbox.
  4. click edit focal point to choose the location of your images focal point
  5. Click the focal point of the image in the modal that appears. This should be the central subject, and the area of the image that we want in view at all times. For a portrait, I recommend clicking an eye, or other powerful feature. You can change the focus at any time, simply by clicking on a new part of the image.
  6. Click apply so save your changes
  7. Insert the image into a page or post
  8. Style your images with CSS, using the img.wpsmartcrop-image selector

Screenshots

  1. <p>An example of featured image styling done with WP SmartCrop</p>

    An example of featured image styling done with WP SmartCrop

  2. <p>The additions to the Media Library interface.</p>

    The additions to the Media Library interface.

  3. <p>Setting an image's focal point.</p>

    Setting an image's focal point.

FAQ

Q. I installed the plugin, and nothing changed. What gives?

A. WP SmartCrop is designed to simplify the process for styling your responsive images, but you need to add some styles for it to use. Try adding this snippet to your theme’s style.css file, as a test:

img.wpsmartcrop-image { display: block; width: 100%; height: 200px; } 

Once you’ve verified that the plugin is working, go wild! Some example css for inspiration can be found at https://www.wpsmartcrop.com/demos

Q. Why can’t you choose the focal points for me?

A. We’re currently working on a “pro” version that will do exactly that. If you’re interested in the feature, let us know as a feature request. It always helps to see people interested in further developments.

Q. Can I integrate WP Smart Crop in my theme?

A. We love to see theme integrations, but reach out to us first, at [email protected]. We maintain a separate, paid branch for theme developers that has some necessary changes and integrations incorporated, and there are some caveats that should be followed to make sure your theme is fully compatible with our future roadmap. Otherwise, feel free to list it as a suggested plugin with your theme.

Q. Your plugin is bad, and you should feel bad!

A. That’s not really a question, but at least our moms like us. Feel free to send your ‘constructive criticism’ to [email protected], or leave us a review/rating.

Changelog

2.0.9

  • Fix attribute parsing issue

2.0.8

  • Add support for generic img tags with the default url format

2.0.7

  • Add support for figure markup

2.0.6

  • Test against WordPress 5.6.0
  • Fix a PHP Notice generated by admin settings UI (PR #12, props to @basvandenwijngaard)

2.0.5

  • Fix potential security concern

2.0.4

  • Update admin email

2.0.3

  • Remove mutation observer for IE11

2.0.2

  • Fix admin url

2.0.1

  • Fix custom image size issue

2.0.0

  • completely rework media library interface for ease of use and compatibility
  • add support for relative position mode
  • incorporate mutation observer for live ajax updates
  • fix support for setting focal point in JS

1.5.0

  • fix compatibility with modals in the media library’s grid view

1.4.7

  • fix misplaced parenthesis on count causing warnings on php 7

1.4.6

  • version bump in attempt to fix wordpress.org listing bug

1.4.5

  • Fix for list view

1.4.4

  • center smartcrop focus by default.
  • fix conflict with jQuery 3.0+
  • remove unnecessary IOS compatibility mode

1.4.3

  • fix settings link on plugins page

1.4.2

  • switch to minified js

1.4.1

  • add unnecessary $(window).load event, to solve intermittent issues in Edge Browser

1.4.0

  • abstract wp-smartcrop into a jquery plugin
  • repair list view in media library

1.3.2

  • Fix focal point selection at large resolutions

1.3.1

  • Fix issue with edge cases and focal positions of with 0 as a coordinate

1.3.0

  • Provide better support for iOS devices
  • additional css tweaks for better universality

1.2.0

  • Add initial steps towards add-on friendliness
  • Add extensible settings page

1.1.0

  • Recrop existing cropped thumbnail sizes to match focal point

1.0.0

  • Initial Release

Details

  • Version: 2.0.9
  • Active installations: 5,000
  • WordPress Version: 3.5.0
  • Tested up to: 6.4.5

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars