Images sizes are only relevant for uploads in the media library. If you have assets in your theme then you need to include whichever sizes are needed for how they’re used in the theme.
Since end users can’t choose your theme’s bundled images to place wherever they want, you don’t need every possible size. You’ll only need the sizes that you use.
Related Posts:
- How can you set maximum width for original images?
- WordPress Image Editor not working – conflict?
- Image dimensions same as image size
- Best image hosting service
- Filter what image sizes get generated
- Media > Image Sizes aren’t being applied to uploads
- add_image_size landscape or portrait
- Force WordPress, themes & plugins into using defined sizes
- WordPress Media Image Manager — Creating Lots and Lots of Odd Sized Images
- Large image size stuck on old value, even for new images
- Can I force all uploaded images to be reduced in quality?
- Rotating image does not work for custom image sizes
- Link to resized media file
- Editing image dimension – to edit the main image file
- Force image crop size in media editor
- Set Maximum Width for an uploaded image
- When inserting an image in a post, how to link the image to a resized URL instead of the full image URL?
- TwentySeventeen $content_width not updated in admin
- How to resize image in wordpress from backend? Seems like bug in wordpress
- Only current gallery images with get_attached_media
- Custom image sizes
- Set default image link target in Gutenberg image block
- Custom post type with a forced fixed aspect ratio image crop
- How do I force WordPress to show most recent version of images in the media library?
- display image size in media library screen
- Removing default image size list in Media Box
- How to capture the selection:toggle event fired by wp.media
- wp media regenerate unknown –image_size parameter
- Is there a plugin to make attaching images easier?
- How to display all images “Uploaded By” an author
- Shortlink directly to a media file?
- Is it possible to generate JPEG progressive thumbnails?
- Way to display media library in frontend
- Images are registered in media library but still won’t show up
- Add visual editor to Media Edit Screen
- Rest API rename media
- Disable drag and upload in Media Library
- Custom media picker in meta box: how to select available image sizes?
- Add media column to edit post screen
- Moving existing media items to new upload path structure not updating full URL path
- How to bulk Edit Dates in Media Library?
- Rename media files generated during upload
- WordPress Built In Dialog Box For My Plugin
- How Do I Delete All The Images from WordPress
- uploading images to specified directories
- image in my post disappeared after I upload website to remote server
- Pull images from the gallery
- Create Media via REST API from Android Application
- wp_generate_attachment_metadata is creating an empty array
- How to change image atributes right before an image to be saved?
- Is it possible to change ‘Link to’ in all images in all articles?
- Custom icons in media library
- Overwrite media matching post title using WP CLI’s media import command
- How to filter the image embed code based on link type
- Creating subfolders in the media library
- WordPress media upload automatic refresh
- What is the alternative to “ when it comes to calling Media (image) files in the ‘attachment.php’ file?
- Why it doesn’t show media urls on rest Api? (WordPress)
- Media Library empty after server move (exact copy of files and db’s)
- Blank upload.php page
- Upload box media size not working
- Extending wp.media.model, query media from different blog on network and refresh view
- WordPress automatically adds links to uploaded images
- In creating a theme, how can i allow a user to change an image outside post/page content?
- Limit dimensions of “Full” size images
- Media changes not updating posts
- Use rich text editor in ‘Edit Media’, for attachment media description
- Automatically Insert alt attribute above image has h2
- How to disable Media Library?
- Theme loosing some images when moving to new server
- WordPress Attachments with old images
- Adding .mov files (not from YouTube) [duplicate]
- Set Featured Image not opening – Stuck at loading
- How to remove “Image Information” and “post date/author” from a media page?
- Control resizing of uploaded images
- Convert all uploaded PNG files to PNG-8 format
- formatting horizontal and vertical images in Settings?
- How to get a list of all attachements urls for every post of a wordpress installation?
- Media permalink to go directly to uploaded PDF, instead of a media page with a link
- how can I change all wordpress media file url to custom cdn url?
- cant upload media/pictures to my wordpress site, cant upload anything to my database
- unable to write to the database while uploading images
- WXR file – Media import failed – how to force import?
- Get all uploaded images using REST api
- unsharp thumbnails after uploading image
- Post images are not displayed in media library
- Media and all images disappeared from my wordpress site
- Replace Swedish characters in filenames
- Use wget to find used images
- Get the Playlist embedded in Post/Page content
- Can we reuse WordPress drag drop media upload in plugins?
- Import media in bulk with caption and titles?
- wp media popup close all popup
- How do I display image files as links?
- Broken Media Library
- Unable to send upload url
- Is it possible to convert various image types from remote URLs to WebP and then serve them immediately?
- How to import and update images/galleries that point to an old site
- Media Library empty after server migration
- How to import external media items into wordpress media library (without using storage)