Hi everyone!
We have several featured posts, and images look somewhat terrible there:
Is there a way to resize images without losing quality?
Just in case, here’s our forum: https://community.elfsight.com/
Thanks!
Hi everyone!
We have several featured posts, and images look somewhat terrible there:
Is there a way to resize images without losing quality?
Just in case, here’s our forum: https://community.elfsight.com/
Thanks!
Yeah that looks like the component. Though it’s based on the Featured Tiles component and I believe with regards to image resizing I didn’t change any code. I also sometimes see blurry previews with the Topic List Thumbnails component. Maybe @david has advice how to optimize images so the previews don’t get blurred?
You need to update the size definitions here:
And then do the maths to update the list of required resolutions here:
Oh… thanks for pointing this out! I let users adjust the sizes in settings:
Looks like I’ll have to think a bit if and how I can integrate this flexibility with the existing definitions
The easiest approach is probably to define the component with the the largest reasonable size in the code (maybe 500x500, plus the 1.5x and 2x variants), and then let the browser resize them down when displaying?