image quality? Help!

Posted in: Newspaper
Post count: 129

Hi!

please take a look this: http://crnjaci.com/hak-zrinjski-vrsi-upis-novih-clanova/
this is my post…take a look in my featured image, and then click on her and take a look when she opened in lightbox. picture in lightbox is perfect quality and why featured image doesn’t have that quality? can i fix that? any suggestion ? please

Post count: 41
Post count: 129

i will try… thanks for your support

Post count: 129

it doesn’t work, please anybody help 🙁

Post count: 6600

Hi,

I have checked your site and seems that the image is looking fine know: http://screencast.com/t/cUm8MvT94xw Please let me know if you have managed to fix this.

Thanks for the message!

Post count: 129

Hi,
when image is in lightbox it’s look ok, like on your screenshot… but featured images without lightbox wasn’t ok, please watch this post: http://crnjaci.com/fotovideo-bez-iznenadenja-u-posljednjoj-veceri-drugog-kola-bozicnog-turnira/ did you see different between image without lightbox and with lightbox? for me, without lightbox is several time worse, it is not clean and clear

Post count: 129

thank you for your support

Post count: 7909

Hi,
The light-box loads the default image – http://screencast.com/t/E26XpMSx
The blur appears because of compression, what tool do you use for image compression?

Thanks!

Post count: 129

Hi!
Regenerate Thumbnails and WP Smush.it, it is look like everywhere image is worse then images in lightboox 🙁

Post count: 6600

Hi,

Please add this compression change line to your functions.php file, turn off smush-it, and then do regenerate thumbnails.

add_filter( 'jpeg_quality', create_function( '', 'return 100;' ) );

Test this by uploading a new image and check if you see any differences.
Please let me know!

Thanks

Post count: 129

Hi Lucian
If i do that, how big will be images on the server? my default images is about 0.5 MB – 1 MB. Will images be upload on server in that size or size like as determined by smush it?

Post count: 555

Look i have this same issue and after putting this lil info at the bottom of my function file it solve my issue…what this code does is sharpen all ur images… you can try it and see if it work for you…

function ajx_sharpen_resized_files( $resized_file ) {

$image = wp_load_image( $resized_file );
if ( !is_resource( $image ) )
return new WP_Error( ‘error_loading_image’, $image, $file );

$size = @getimagesize( $resized_file );
if ( !$size )
return new WP_Error(‘invalid_image’, __(‘Could not read image size’), $file);
list($orig_w, $orig_h, $orig_type) = $size;

switch ( $orig_type ) {
case IMAGETYPE_JPEG:
$matrix = array(
array(-1, -1, -1),
array(-1, 16, -1),
array(-1, -1, -1),
);

$divisor = array_sum(array_map(‘array_sum’, $matrix));
$offset = 0;
imageconvolution($image, $matrix, $divisor, $offset);
imagejpeg($image, $resized_file,apply_filters( ‘jpeg_quality’, 90, ‘edit_image’ ));
break;
case IMAGETYPE_PNG:
return $resized_file;
case IMAGETYPE_GIF:
return $resized_file;
}

return $resized_file;
}

add_filter(‘image_make_intermediate_size’, ‘ajx_sharpen_resized_files’,900);

Post count: 555

Oh if you choose to use that code you will need to Regenerate Thumbnails after to see any effect…

Viewing 13 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic.