WP Tavern: WordPress 5.3 Improves Large Image Handling

  • Thursday, 10th October, 2019
  • 15:14pm

New WordPress 5.3 introduces a new filter ( apply_filters('big_image_size_threshold ', sizeInPx ) to set the maximum width or height of media uploads. Many WordPress users rely on image resizing tools like EWWW Image Optimizer, and Smush to resize their images to serve scaled images for varying display sizes and densities. 

Another function ( wp_get_original_image_path() ) has been added as essentially a helper to return the original image path when an uploaded image is larger than the default of 2560px.

Full Article:

https://wptavern.com/wordpress-5-3-improves-large-image-handling

« Back

Powered by WHMCompleteSolution