Hi rossiello,
Open the intro.php file in the "../ja_flix/html/layouts/joomla/content/image/" folder and replace above PHP code section by below PHP code section:
$item_content = $displayData->fulltext;
if(!$thumbnail) {
if((isset($images->image_intro) && !empty($images->image_intro))) {
if(preg_match('/http/',$images->image_intro,$matches)){
$thumbnail = $images->image_intro;
}else{
$thumbnail = JURI::root(true) .'/'. htmlspecialchars($images->image_intro, ENT_COMPAT, 'UTF-8');
}
} else {
preg_match('/<img.+src=[\'"](?P<src>.+?)[\'"].*>/i', $item_content, $image);
if($image['src']) {
$thumbnail = JURI::root(true) . '/' . $image['src'];
}else{
$thumbnail = JURI::base() . '/templates/' . $template . '/images/blank-intro.png';
}
}
}
Save and reload your website to view all changes.