Featured image quality

Hello,

Thanks for making this great theme!

All my featured images seem to get converted into a really low quality. When changing to Twenty Fourteen it doesn’t seem to happen?
Is there anything I can do to make sure the featured images are in the same high resolution as when I uploaded them?

I’m on a retina display btw.

I’ve tried resizing manually to 750x410 72dpi and 300 dpi. Changes the look a bit but still ain’t pretty :wink:

Sincerely,

Ludvig

Hi Ludvig,

Thanks for posting on the forum.

Could you please try regenerating the images on your site by using the following plugin?

If it doesn’t help then please share me your site link so that i can troubleshoot it.

Best Regards,
Vinod Dalvi

Hi Vinod,

I tried regenerating all images with the plugin, but it didn’t change anything.

My page is: http://denkreativetilgang.dk/?page_id=36

Sincerely,

Ludvig

Hi Vinod,

I still haven’t figured out how to make it work.
The thing is, I’m going on a trip to Spain the next 30-40 days so if you are able to find the solution I’m probably not gonna be able to implement it before I get back.

Just so you know why I’m not answering! I will though when I get back as it’s a problem that I’d really like to solve :slight_smile:

Have a nice day,

Ludvig

Your images looks perfectly fine and there is no way they can get better than that. They are cropped by WordPress built in post-thumbnails functionality but the image quality shouldn’t be affected. If you want to display full size images you might want to change

add_image_size( 'sparkling-featured', 750, 410, true );

which is defined in functions.php file to 9999 and 9999 or something like that just to make sure that images are no longer cropped and are displayed as-is and resized by only using CSS.

Additionally you can replace this code inside content-single.php

<?php the_post_thumbnail( 'sparkling-featured', array( 'class' => 'single-featured' )); ?>

with something like this to display full-size featured images by default:

<?php 
if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
	the_post_thumbnail( 'full', array( 'class' => 'single-featured' ));
} 
?>

This can be done via Child Theme as well. Simply copy/paste content-single.php from parent theme folder to Child Theme folder and edit that file in Child Theme folder. Here you can find basic Sparkling Child Theme

Let me know if this helps.

Hi @Aigars!

I tried your trick, and when adding your second part, it seemed to work! Thanks!

When comparing the picture I’m uploading to the thumbnail that it showed before, there was a very big differende in quality. So it wasn’t fine :wink: But now it seems to be as it’s supposed to be, so I’m very happy! Thanks again!

Sincerely,

Ludvig Olsen

We are testing the sparkling theme but we are strugling with the images quality issue.
Actually we have wordpress 4.7.4 but all the images we uploaded looks in a lower quality.

We have tried all the 2 solution above but nothing happens…
I don’t know if the problem been caused from the theme or comes from wordpress

The problem occured in all the website uploaded pictures

We prepare the images exactly for the destination so if the upload process reduce them the final result looks a shame

@burgerprint This is old topic and to help us keep support thread separates could you please create your own thread for your question here https://colorlibsupport.com/c/sparkling/ instead of replying on others thread as it makes the thread messy and hard to read.

If you want to you can also add reference of this thread in your newly created thread.

We would be more than happy to help you on your new thread.