Resize images to rendered dimensions
PageSpeed Optimization Filters
This attempts to resize any image to its rendered dimensions on the web page. Unlike
resize_images it ignores any width and height attributes specified for the image. If the same image appears more than once on the page it is resized to the biggest rendered dimensions of the image. Similar to
resize_images, the original image is replaced only if the image file is smaller after resizing. Image resizing is lossy by nature, regardless of image file format.
Note: It also strips color profiles and metadata even if
strip_image_meta_data are disabled.
The use of beacons can be disabled using the
CriticalImagesBeaconEnabled directive. If they are disabled,
resize_rendered_image_dimensions will not apply.
Note: If both
resize_images are enabled then
resize_rendered_image_dimensions takes precedence.
pagespeed EnableFilters resize_rendered_image_dimensions
pagespeed DisableFilters resize_rendered_image_dimensions