Default image sizes
By default, WordPress comes with four (4) image sizes:
- Thumbnail: 150px (square)
- Medium: Max width and height of 300px
- Large: Max width and height of 1024px
- Full: The original size of the image
In addition to default images sizes, WordPress theme might offer its own image sizes as well.
Themes Harbor image sizes
Our professional WordPress themes come with extra image sizes to fit overall design.
Prosperity
Image size identifier | Usage location |
---|---|
prosperity-large-thumbnail-image | On pages with full width content |
prosperity-fullscreen-image | Front Page template |
prosperity-thumb-image | Testimonials (Jetpack) |
Aquene
Image size identifier | Usage location |
---|---|
aquene-fullscreen-image | Singular views, Featured Content (Jetpack) |
aquene-large-image | Archive views |
aquene-square-image | Featured Content (Jetpack) |
Hermes
Image size identifier | Usage location |
---|---|
hermes-featured-image | On pages with active featured image |
Appetite
Image size identifier | Usage location |
---|---|
appetite-standard-image | Front Page template, Grid templates |
Venture
Image size identifier | Usage location |
---|---|
venture-standard-image | Portfolio (Jetpack) |
venture-banner-image | Archive views |
venture-featured-image | Singular views, Featured Content (Jetpack) |
venture-square-image | Testimonials (Jetpack), Front Page template |
Fortune
Image size identifier | Usage location |
---|---|
thumb-image | Testimonials (Jetpack) |
Change image sizes in WordPress
Image sizes can be modified. If default dimensions do not fit your needs then you can edit them to use own custom sizes.
Change default image sizes
WordPress provides options for changing default image dimensions.
In WordPress dashboard:
- Navigate to the Settings > Media.
- Locate the Image sizes section.
- Change width and height of the image size you need.
- Save the changes.
Note, installing a new theme will likely override any changes made to the Media Settings.
Change theme image sizes
Modifying additional images sizes from a WordPress theme is different compared to default image sizes.
Instead of pre-defined options, it requires to use a custom code.
For example, to override image size used in singular views in Aquene, the following code snippet should be added:
// Change the theme image sizes.
function themesharbor_modify_default_image_sizes() {
add_image_size( 'aquene-fullscreen-image', 1000, 800, true );
}
add_action( 'after_setup_theme', 'themesharbor_modify_default_image_sizes', 99 );
The code above changes images with aquene-fullscreen-image
identifier to 1000x800px.
For more detail information on how the image size functionality works, see add_image_size documentation.
Common misconception
Editing the image size setting does not automatically change the images displayed on the website because WordPress does not have such functionality.
Although new images will be adjusted to the new settings, previously uploaded images will have old sizing.
Until you manually regenerate them.
Regenerate images in WordPress
To use the new image sizes, you need to regenerate images. In other words, tell the WordPress to re-upload all your existing images, so new settings can take place.
Regenerate using a plugin
Use the Regenerate Thumbnails plugin to regenerate all images in the Media Library or just specific images on a website.
In WordPress dashboard:
- Install and activate Regenerate Thumbnails.
- Navigate to Tools > Regenerate Thumbnails.
- Click the big button to regenerate thumbnails in the Media Library.
To regenerate specific images:
- Navigate to the Media Library.
- Click on a thumbnail to open image settings.
- Locate Regenerate Thumbnail button at the bottom right-hand side.
Leave a Reply