As @PieterGoosen said, your point is valid. A look into the source confirms that the codex description of add_image_size was wrong there. It was, because I changed it to be correct. That said, everyone can help improving the codex, you just need to register. You might want to take a look at Contributing to WordPress for a introduction on how to do that, the first section is about the documentation aka codex.
Related Posts:
- Custom image size / thumbnail – Crop to aspect ratio even when source image is smaller than set dimensions
- How to delete resized (cropped) image uploads and prevent future resizing?
- Why WordPress automatic cropping all my images?
- How to resize images in wordpress without adding any compression or changing the color profile of the images, possible?
- get_the_post_thumbnail_url with an unregistered size
- Cropped featured image replaces original image in gallery
- add_image_size() zoom-crop
- add_image_sizes ignoring crop sizes and using proportion
- “There has been an error cropping your image” when cropping image
- Image resize with image url
- Cropping an image before inserting into a post
- Why can’t I edit certain images from the WordPress Media library?
- Custom image size not regenerating when image editted
- Local WordPress installation doesn’t crop images
- add_image_size() to crop images into squares?
- is it possible to crop cover images in buddypress?
- WordPress crops images differently on retina screens?
- Hero image cropped at different dimensions
- Show image crop window on image upload
- Edit image results in copies of file being created
- Stop WordPress from cropping images using url parameters
- WordPress images not cropping properly
- Mass crop images: Landscape images -> Portrait images
- How do I get a smaller size of an avatar image
- Force square image crop during upload?
- Disable image rename on upload
- Auto-crop width, not height
- wordpress add image size crop function not working in version 3.8
- VT-resize (great alternative to timthumb) : Errors cropping (litespeed, centos 6.3)
- Plugin to select the custom image crop area
- Apply manual image cropping not to thumbnail but medium_large size
- variable crop option with add_image_size()
- Set image dimension for WP_Customize_Image_Control images
- How to get WordPress to resize images for srcset?
- Programmatically get images by URL and save in uploads folder
- Upload images to remote server
- is it possible to replace the use of gd_lib with imagick or ImageMagick?
- Function to call the attachment image from post
- Filter Media Library by author or post_parent
- How to grab first image attached to post and display in RSS feed?
- How to add a link in a image’s caption?
- Displaying a featured image (only img url) as the img src?
- Adjusting caption below single post image
- Image display from custom field
- Include captions
- What’s the proper way to use the get_image_tag filter?
- Get full URL of images in media library including http://
- Host images only on CDN
- How to intigrate multiple image uploader in a custom post type
- Stripping the_content() from images then displaying them seperately
- max_srcset_image_width doesn’t work as intended
- Background image resets after time (XAMPP)
- Custom thumbnail size of image when uploaded
- Change wp-content/uploads to uploads/%postname%/%image%
- Insert File URL Links to Existing Images that Were Not Originally Linked to Themselves
- Difficulties setting a maximum image width
- Does wp_get_attachment_image_src also work with non-image files?
- Why does WP allow to view and media item as a page
- Console Browser says it cannot find a requested image that does not exist on my Website [closed]
- Display attached images as background-image css
- Remove Additional image sizes created by theme
- Show Image Size as Dragging it Larger or Smaller
- Logo on the tab
- How can I get url from image tag in feed with fetch_feed?
- How to get image name, mime type, width, height, file size from post custom field?
- How to automatically populate a gallery with images attached to posts of one category?
- How to edit caption for images and exclude it from excerption query?
- Can’t seem to see images on my machine but can on the server
- Add a span tag around image
- Editing already up-loaded images
- Regenerate BIG threshold scaled images
- Change Image in Mobile Search Results
- WordPress Link To Image Missing Dropdown
- Is there a way to create referable automatic numbering in image captions?
- Issues Adding a jQuery Image Slider
- set_post_thumbnail_size only working for width
- Getting the closest named image size from an array of dimensions
- Newly uploaded images are not updating in featured image
- How to attach post ID to image links in WordPress tinymce editor
- How to stop a post from publishing if the file upload is not a image/gif
- Troubles with code for upload a image
- Duplicate images in wordpress
- Images not showing after moving site
- Some images don’t get linked when setting link-to to media-image
- Search and replace image urls in posts
- Create a Link to Larger Image from within list of smaller images
- Thickbox not displaying just the image, instead showing full page in lightbox
- Post Images Size Change in WordPress
- Show uploaded images in full size
- trouble with featured image
- Have a rotating image covering body only on front page?
- Img src path from wp-admin
- get_post_custom: get image URL instead of image ID
- I moved WordPress to root now posts go to 404
- Can’t manage to display an uploaded picture (uploaded from a custom button) in the front end
- Script not working in WordPress [duplicate]
- My subdirectory sites images (except webP) are throwing to 404 page even they are exist
- changing option for all posts
- Disable image compression for WebP
- Image editing no longer works after moving to a new server