Optimizing your images is crucial for a fast-loading website and strong search engine rankings. By following these simple steps, even non-technical users can make a big difference.
1. Ideal Image Dimensions
The ideal width for your images is 1920px. Always upload your images at this resolution. This size is wide enough to look great on most computer screens without making the file size unnecessarily large, which can slow down your website.
2. Thumbnails in Blogs
When you’re adding an image to a blog post using the Gutenberg editor, make sure to select the “Large” thumbnail size. This setting ensures your image appears sharp and clear while keeping its file size significantly smaller than the original, contributing to faster page loads.
3. Best File Format
For images that don’t need transparent backgrounds, always use the .jpeg file format. JPEG is excellent for photographs and complex images as it offers a good balance between quality and file size.
4. Optimization with Shortpixel
For automatic and efficient image optimization, Shortpixel is the recommended plugin. It automatically optimizes all the different thumbnail sizes that WordPress creates, ensuring every image on your site is as small as possible without compromising quality.
A significant advantage of Shortpixel is its ability to convert images to the WebP format. WebP files are much smaller than traditional .jpeg files, which dramatically improves your website’s loading speed.
5. Recommended File Size
Before you even upload your images to WordPress, try to keep their file size under 400KB. Shortpixel will then further reduce this size after you upload them, ensuring maximum optimization.
6. SEO-Friendly Filenames
Give your images SEO-friendly filenames before you upload them. Use descriptive names and separate words with hyphens. For example, instead of IMG_1234.jpeg, name your file mount-fuji-climbing-in-japan.jpeg.
WordPress automatically uses the filename to populate the image’s ALT text (without the hyphens). You can then edit this ALT text later for even better SEO and accessibility, describing the image content for visually impaired users and search engines.