Jump to content

Image in CKEditor Quality Option


Qualtext
 Share

Recommended Posts

Hi Community,

is there a way to set up the quality value when processwire inserts an image in ckeditor (pwimage).

First i thought this will manipulate all the image-resize-renderings: 

$config->imageSizerOptions = array(
 'upscaling' => true,
 'cropping' => true,
 'quality' => 90,
 );

I want to reduce the quality (file size) of the cropped and directly used images.

I found nothing in Forum and in the Blogs. It is an important thing for Google PageSpeed Insights for example.

Can anyone take me to the right way?

 

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...