Huge images sizes
-
I really like your slider block. But there is one thing that causes problems: The five additional image sizes “xl” to “xxxxxl” that your plugin is creating.
I’m using an image optimization plugin Imagify. There I can setup the largest size for images. With this images that are too large get downsized by this plugin. But unfortunately with your image sizes this plugin only accepts downsizing of more than 4000px.
I have tried to onload your sizes:
add_action( 'init', 'j0e_remove_large_image_sizes', 10000 ); function j0e_remove_large_image_sizes() { remove_image_size( 'xl' ); remove_image_size( 'xxl' ); remove_image_size( 'xxxl' ); remove_image_size( 'xxxxl' ); remove_image_size( 'xxxxxl' ); }
But Imagify still thinks it has to be larger than your largest image size.
Would it be possible to get a setting to deactivate these sizes?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Huge images sizes’ is closed to new replies.