JPEG Quality Settings

Plugin Banner

JPEG Quality Settings

by invisibledragonltd

Download
Description

By default WordPress forces all thumbnails be set to a quality level of 82. But what if you want to change that? Sure the
jpeg qualtiy filters exist if you want to code in a value, but they affect all JPEG thumbnails which may not be desirable.

For example you might want a blog background to be of a lower quality, hence lowering the filesize and increasing the speed
of which the page loads.

By using the JPEG Quality Settings plugin you can now customize the quality based on whatever values you want.

Install in the usual WordPress way. Reconmended to use the plugin directory from inside your WordPress install.

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->JPEG Quality screen to configure the plugin
  4. (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes)
  1. This screenshot shows the admin panel for changing quality settings

    This screenshot shows the admin panel for changing quality settings

Does this affect any existing thumbnails?

No, you will need to install a plugin to regenrate thumbnails. Many good free options exist.

Can my theme provide default options?

Yes! By taking advantage of the filters installed. For example:

`

add_filter(‘jpegquality_my_blog_size’, ‘mytheme_myblogsize_quality’);

function mytheme_myblogsize_quality(){
return 10;
}
`

1.0

  • Initial Release
Back to top