Descriere
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.
- 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!
Compatibilitate
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.
Please Rate/Review and Enjoy
Your Ratings and Reviews help us to direct our development, and help other users know what to expect.
Capturi ecran
Instalare
Poți utiliza programul nativ de instalare și actualizare, sau poți instala manual modulul.
Din panoul tău de control WordPress
- Vizitează „Module > Adaugă modul”
- Search for ‘WP SmartCrop’
- Activate WP SmartCrop from your Plugins page.
De la WordPress.org
- Download WP SmartCrop.
- Upload the ‘wp-smartcrop’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
- Activate WP SmartCrop from your Plugins page.
Odată activat
- Upload images to your Media Library
- Select an image in the library, so that image details appear on the right
- Check the Enable Smart Cropping checkbox.
- click edit focal point to choose the location of your images focal point
- 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.
- Click apply so save your changes
- Insert the image into a page or post
- Style your images with CSS, using the img.wpsmartcrop-image selector
Întrebări frecvente
-
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!
-
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 support@bytes.co. 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 support@bytes.co, or leave us a review/rating.
Recenzii
Contributori și dezvoltatori
„WP SmartCrop” este un software open-source. La acest modul au contribuit următoarele persoane.
ContributoriTradu „WP SmartCrop” în limba ta.
Te interesează dezvoltarea?
Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.
Istoric modificări
2.0.10
- Remove references to plugin website
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
- Versiunea inițială