How image gets cropped depends on how the respective size was defined with add_image_size()
.
In the past it was limited to soft or hard crop modes, always respective to the center of image. Now you can also pass more elaborate directions for the crop, such as array( 'left', 'top' )
. See the linked documentation for details.
Note that the size applies to all images in general. If you want control over cropping of individual thumbnail, image editor in admin allows that to some degree (Edit image > Apply changes to > thumbnail).
Related Posts:
- Add_image_size not cropping
- How to have the thumbnail cropping tool working
- Thumbnails resized and not cropped in the center
- How To Delete Desired Image Sizes From wp-content/uploads?
- How can I upload video, generate thumbnail and convert to different formats?
- Thumbnails of same size with different crop
- How to Replace YouTube Videos with a “Click to Play” Thumbnail?
- get_the_post_thumbnail_url with an unregistered size
- Cropped featured image replaces original image in gallery
- image_resize in wp3.5 change to wp_get_image_editor and wont work
- Why is wp_get_attachment_image_src returning wrong dimensions? [duplicate]
- Stop wordpress from creating multiple size images
- Completly disable and remove Thumbnails?
- Store thumbnails and uploads in different directories?
- Getting specific image thumbnail urls of attached images
- wp_get_attachment_image() not working when trying to add width and height attributes
- WordPress 3.5 – Add custom image size
- Thumbnail is corrupt but image is good
- Thumbnails are not cropped even after selecting “Crop thumbnail to exact dimensions”
- Various thumbnail sizes for WordPress/jquery masonry gallery
- Detect if image file is a thumbnail
- Setting default thumbnails size & creating multiple thumbnail sizes
- Media Gallery Upload Thumbnail Compression is Changing Image Hue
- Custom image sizes only for thumbnails
- How to disable multiple thumbnail generation?
- Generated media have incorrect aspect ratio
- Use ‘medium’ size with catch_that_image() function
- How can I get I get the thumbnail custom size dimensions?
- prevent wordpress from creating thumbnails of an image
- ‘Thumbnail’ and ‘Medium’ Image sizes are different than expected
- How to link to featured image to media file URL
- Open Image Thumbnail in a new page, while clicking on the link
- Thumbnails Not generated when sharing on WhatsApp
- Thumbnail position + size
- Why are some thumbnails on their side – but correct when I go to edit image? [closed]
- Is there a way to avoid using add_image_size? Best way to manage images
- Single-post preview repeats thumbnails in Jupiter Recent Posts widget
- Force image crop size in media editor
- How to fit image to Thumbnail canvas size?
- Regenerate thumbnails for images that are not in the media library
- How can i make this in the_post_thumbnail?
- Custom image size mixes width and height in output
- Why are thumbnails not being generated for PDF files?
- How do I get a smaller size of an avatar image
- Image Sizes/Thumbnails not generating on local install Ampps
- Timthumb not working with WordPress 4.0
- the_post_thumbnail returns full sized image, how to debug?
- Disabling image thumbnails and automatic regeneration
- add youtube thumbnail in index and single.php add video
- Woocommerce: Set thumbnail detail (clipping area)
- Stop ‘alt’ from being added to the_post_thumbnail
- Exclude Multiple Post Thumbnails From Post Attachments
- Apply manual image cropping not to thumbnail but medium_large size
- Custom thumbnail crop offsets
- How can i place square Feature Image withing the body of post aligned top left or top right in wordpress?
- Can’t add thumbnail theme support
- Error 500 in loop to create posts and thumbnails
- How to reduce unnecessary thumbnail creation?
- thumbnail crop not working
- Best way to manage theme images
- how to place ELSE on if function on multipostthumbnails? [closed]
- add_image_size cropping changes on Mobile devices
- external url for post thumbnail and title
- Generate thumbnails like 500px.com
- Serving resized images on a responsive site without making 2x copies
- How to delete post thumbnails in index page? (twenty fourteen theme)
- get_intermediate_image_sizes() returning different values depending on is_admin()
- Display thumbnail of child, parent and ancestor using featured thumbnails
- Retrieve image from Open Graph of an external URL and set as featured image
- Media Library Image Sizes in Bones theme (add_image_size)
- Check if custom thumnail size image has been cropped to the correct dimensions
- Thumbnail Look For WP
- Can’t edit thumbnails
- get_the_term_list & url
- Thumbnails from video posts not working after upgrading to WP 3.4
- Thumbnail informations (meta)
- How can I add a featured thumbnail into a div via a data-image-src?
- Thumbnails loading forever
- How to crop thumbnail size, from both width and height sides
- Getting post-thumbnail hentry category-error – How can I fix
- How do I resize an image using PIL and maintain its aspect ratio?
- How to change thumbnails for WordPress pages (KakaoTalk)
- WordPress custom thumbnail size
- WordPress custom thumbnail size
- How To Change Default Image Thumbnail Sizes in WordPress
- How to disable WordPress from creating thumbnails?
- Generating Thumbnails for video
- set_post_thumbnail_size vs add_image_size
- Custom image size / thumbnail – Crop to aspect ratio even when source image is smaller than set dimensions
- Custom post type with a forced fixed aspect ratio image crop
- How to delete resized (cropped) image uploads and prevent future resizing?
- How to set thumbnail image for a (child) theme
- the_post_thumbnail responsive srcset not populating with custom image size
- Set custom name for generated thumbnails
- New image size version only for the Featured Image file
- wp_get_attachment_image_src always returns full-sized image
- Why WordPress automatic cropping all my images?
- Add Title Attribute to WordPress Image the_post_thumbnail
- Is there a hook which fires after all thumbnails are generated?
- How to Delete All regenerated thumbnails but keep the original ones?