WordPress plugin
WP SmartCrop Pro
WP SmartCrop applies CSS-defined image dimensions by cropping to fit, so constrained layouts do not stretch or squash the original proportions. It aims to keep the selected focal point in view and as close as possible to a rule-of-thirds position as the aspect ratio changes.
Responsive picture cropping
WP SmartCrop applies CSS-defined image dimensions by cropping to fit, so constrained layouts do not stretch or squash the original proportions. It aims to keep the selected focal point in view and as close as possible to a rule-of-thirds position as the aspect ratio changes.
Automatic focal-point selection is presented as the Pro addition. The supplied plugin description says this feature was in development, while the documented WP SmartCrop workflow lets you pick focal points in the Media Library. Current availability of automatic selection is unclear.
Image controls and support
- Choose a focal point in the Media Library and enable or disable smart cropping for each image.
- Target images with the
img.wpsmartcrop-imageselector, then set their display dimensions with CSS. - Use the automatic image preloader, which is intended to prevent users from seeing partially loaded images.
- Use WordPress responsive
srcsetsources and legacy cropped thumbnail sizes, which can improve existing crops without CSS changes. - The listing describes semantic HTML5 and CSS3 for modern browsers, with HTML4 and CSS2 fallback for older browsers. It names Safari, Chrome, Firefox, Microsoft Edge, and several caching and optimization utilities among its compatibility references.
Setup and compatibility
After activating the add-on, choose an image in the Media Library, enable smart cropping, and open the focal-point editor. Click the image's central subject, apply the change, then insert the image into a page or post. Add CSS rules for the desired dimensions and target the smart-cropping selector. Disable cropping for individual images that need various framing.