@ Linda
Yes Lind that is correct. It seems a core function in WordPress for streaming images, which is what Connections using to serve HiDPI (Retina) images, does no longer use a default image quality of 90. It is either not set or defaults to a real low value in 4.0. When I tested 4.0 before releasing I didn’t notice this because I don’t think I refreshed the page multiple times. The first load a image is created and cached, Connections does set a default quality, and page refresh, the cached image is served and no default quality is set (in WP 4.0).
A bug fix will be released shortly, after I resolve a few other bugs.
You can apply a hotfix…
Open this file:
../wp-content/plugins/connections/includes/image/class.image.php
Right before this line:
$image->set_quality( $quality );
Add this:
// Ensure a stream quality is set otherwise we get a block mess as an image when serving a cached image.
$quality = get_query_var( 'q' ) ? get_query_var( 'q' ) : 90;
// Ensure valid value for $quality. If invalid valid is supplied reset to the default of 90, matching WP core.
if ( filter_var( (int) $quality, FILTER_VALIDATE_INT, array( 'options' => array( 'min_range' => 1, 'max_range' => 100 ) ) ) === FALSE ) {
$quality = 90;
}
$image->set_quality( $quality );
Save and upload overwriting the original.
Hope that helps and apologies for the trouble.