It's easiest to watch the video and see how to do this, but the short version (using Google Chrome) is this: Once you have a good feel for all the different layouts on your site, it is time to find out what images they use. Do you have a blog page? Do the individual blog posts look different than the main blog listing? Do your pages look different than your posts? Do you have custom content, like testimonials or services that might use a different layout? Do you have a store on your site? Is there a grid view to display your products? Do the individual product pages have a special layout? Lastly, look through all your widgets, and see which ones use images. The first task, is to think through all the different layouts on your site, and the various widgets that you are using. If you're not sure which sizes are being used on your site, it's time for some investigation. These can quickly add up to 10, 20, or even 30 resizes per upload. Themes and plugins will often add more "resizes" for various layouts, eCommerce grids, galleries, widgets, etc. This allows the end-user's device to choose the most appropriate size, whether it is a phone, tablet, laptop, etc. Responsive design: WordPress uses the srcset attribute to list various sizes of an image alongside whichever image you chose to insert in your post or page.And if none of the sizes quite fits your theme or layout, then you can adjust the dimensions of those sizes on the WordPress media settings. You can simply upload your image, and insert whichever size is appropriate into your content. Convenience: by automatically generating various resizes when you upload an image, you no longer need to manually scale the image prior to upload.What to do when the resizes are out of control?Īs the video describes, there are two purposes for the resizes that WordPress generates: To find a complete list of resizes, check the Resize settings for the ERunning a scan doesn't use any credits, so you can safely run it at any time to count the number of images you have left to optimize. As a rough estimate, you can simply multiply the number of resizes by the number of images listed in the Media Library. So while you might look at the Media Library and think you only have 1,000 images, it is likely that you have at least 5,000. Your theme, or other plugins you have installed, may add additional sizes to be created for each upload. WordPress creates 4-6 resizes by default for every image you upload to your site.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |