the featured image use your own set of setting dimension on media. so any size should be fine, my own media setup on mesocolumn demo is like this
thumbnail 150×150
medium 300×300
large 1000×800
its work fine in my end.
post text article width, around 700-800px width i think. then again its built with responsive fluid in mind so its width are flexible.
Thread Starter
Yan555
(@yan555)
Where can I change Related Posts image dimensions?
Thread Starter
Yan555
(@yan555)
My original uploaded photos are 800×450, but the related post thumbnails are very blurry and showing only one part of the original image.
It looks unprofessional.
What can I do?
open mesocolumn/lib/templates/related.php and edit this code
<?php echo dez_get_featured_post_image($thepostlink, "</a>", 250, 250, "aligncenter", "thumbnail",dez_get_image_alt_text(),the_title_attribute('echo=0'), false); ?>
thumbnail to medium.
there should be 2 similiar code top and bottom of the template, edit them both.
Thread Starter
Yan555
(@yan555)
Now, the photo quality is OK, but there is a blank space under the photo.
The dimensions of the photo don’t fill the whole photo box for related posts.
You can see in this screenshot—- 10 reasons to eat more cherries
try add this to custom css, adjust the height until it fit.
#custom #post-related .feat-cat-meta .related-post-thumb {
height: 130px;
}
-
This reply was modified 6 years, 3 months ago by Richie KS.
-
This reply was modified 6 years, 3 months ago by Richie KS.
Thread Starter
Yan555
(@yan555)
I’ve added the scripts. It works perfect! Thank you so much, Richie for your indications and quick reply.
This theme is great!
PS When you upload bigger pictures as you indicated 1000×800 or 800×650, the related posts thumbnails are OK, no need to modify CSS.