Probably because your sizes both have the same width, and you have it set to “proportional crop”, which won’t necessarily crop to your exact dimensions. (See the Codex)
In all likelihood, it is actually creating both images–but they’re both the exact same size, so one overwrites the other 🙂
Try changing the last param to “true”.
add_image_size( 'featured1', 466, 316, true);
add_image_size( 'featured2', 466, 260, true);
Related Posts:
- remove or update add_image_size
- Default Image Link Removal
- How to copy and paste a picture found on the web to wordpress easily
- Graphing libraries for WordPress [closed]
- add_image_sizes ignoring crop sizes and using proportion
- Get attachment ID of author_meta image – Attachment Metadata
- get_intermediate_image_sizes Get the Size Names but How Do I Get the Sizes?
- Alter image output in content
- How can I remove the image attachment ALT field?
- Cropping an image before inserting into a post
- custom image size with New Media Manager in wordpress 3.5
- Change html structure of all img tags in WordPress
- Uploading images: ‘ø’ get replaced with ‘ø’
- Get a list of all image sizes that match aspect ratio of original one
- Insert image in comment reply
- Randomly add a ‘ul’ list of images
- How to add qtranslate multi language support for media?
- custom image dimensions (for gallery)
- Screenshot.png not showing up
- Include photos in WordPress blog posts without uploading to Media Library
- Thumbnails are bigger in size than the original image
- The the post id from image id
- function to show only featured image of the posts
- Image resize depending on orientation?
- Featured images not displaying at full resolution
- Check if the image exists in WordPress media library
- Is there any action/filter hook to use when an image gets edited in the editor?
- Images will not display, when I call them up with html in wordpress, just two blank small spaces [closed]
- Force minimum image size and aspect ratio when uploading images
- Changing default img html markup but not in admin back-end?
- Change align classes for images
- Ho to add “Create Slider” option to default “Add Media” popup?
- Images in Blog List
- Images in Media aren’t showing, not broken
- Fixing image names for a site being restored
- Upload Image using wp_insert_attachment and file url don’t have file extension
- Custom header tiling?
- Using featured img as div background
- Display an icon with get_post_meta?
- Include WooCommerce 2’s prettyphoto scripts on all site pages
- Get custom thumbnail sizes [duplicate]
- Using Jetpack carousel w/o creating a gallery [closed]
- Where do I locate theme image files
- WordPress Facebook Open Graph plugin not working for 1 specific image [closed]
- Custom responsive ‘featured image’ sizes
- How to set uploaded image as featured image wordpress
- Random background image showing on website per click/load
- removing the featured image from the post
- Warning : tempnam() [function.tempnam]: SAFE MODE Restriction in effect
- How to force WordPress to upscale images?
- How to stop WordPress from completely overriding my tags in my templates?
- Image text wrap not working properly on frontend
- WordPress cutting images size
- How can i add a section of category image upload during adding of category in wp admin area?
- Errors and warning with padlock sign when site moved to SSL
- remove enclosure url from feed
- How to make footer area transparent? Using Avada and WordPress [closed]
- Show last 12 uploaded images on home page, but only from posts
- Whats causing image quality to be degraded?
- Fancybox just loading small white square
- WordPress Resize Image and show as thumb in post
- Resize uploaded images [duplicate]
- photo gallery implementation like tmz
- Graphics and Formatting Not Loading in WordPress on IIS
- How to Automatically import external images to Upload
- Edit Page did not get refresh after update
- get_post_gallery with Gutenberg
- How to join Caption AND Description Meta Fields as one combined-caption in Image Block
- Fullscreen Page Background without Plugin [closed]
- Allow a specific user role I have created to only upload one image to his media library
- how to regenerate webp et-pb-portfolio-image
- How to avoid images appear as post in google search?
- When upload a PNG a noise appears in the thumbnails
- How to stop TinyMce from converting image url into ?
- How to automatically load an image inside the post, since it is present in uploads folder
- Generate links on all images in posts – is there a hook?
- Decide how Hero image appears on mobile
- Broken images/videos after migration – DIVI theme- works ok on Mac OS
- Can’t figure out how to get space around an image? [closed]
- Show images from TEXT section on PAGE wordpress
- Where to add my code to auto attach images to existing products
- Set WordPress to Create different images format later, not during upload
- If file exists with page slug name show image else nothing
- How might one programmatically set the link for all images in all posts?
- page displaying media caption shortcodes
- Display different Images depending on the current day
- How to add a credit line to a photo caption
- Slider do not add alt attribute. Cant get alt attribute from a media library!
- Broken image URL
- Uploading Images for a section
- Some images suddenly not appearing
- Paginate Gallery [closed]
- WordPress: Preload next post images
- Image not showing in an archive page
- Set add_image_size() greater than content width in media box
- Remote Image (from URL) as Media Library element
- Theme using masonry layout script rendering overlaped images in Google Chrome [closed]
- Why is inline CSS added to images automatically? [closed]
- Display first image’s caption
- The uploaded images are only full-size (original)