Reply To: Problems with Related projects images
Ok, solved this way fixing couple of bugs (imho) :
1) Now custom thumb it’s visible
2) in certain browser resizing didn’t worked correcty… pics didn’t kept aspect ration and resizing was cutting out image edges.
in /single-mtheme_portfolio.php
Line 196 replace:
echo display_post_image (
$post->ID,
$have_image_url=false,
$link=false,
$type="portfolio-small",
$post->post_title,
$class="portfolio-related-image"
);
with:
// Show Image
if ($thumbnail<>"") {
echo '<img src="'.$thumbnail.'" class="preload-image displayed-image" alt="thumbnail" />';
} else {
echo display_post_image (
$post->ID,
$have_image_url=$thumbnail_image_url,
$link=false,
$type="portfolio-small",
$post->post_title,
$class="preload-image displayed-image"
);
}
Hope it’s what you were looking for!