Qualtext Posted February 24, 2017 Posted February 24, 2017 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?
Qualtext Posted March 21, 2017 Author Posted March 21, 2017 Has no other never ever had this question?
Zeka Posted May 24, 2017 Posted May 24, 2017 Hi @Qualtext You can try to use ImageInterceptor, but there are no quality options in this module, so you have to modify the source of the module here and here and add a quality parameter to size method.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now