Hello,
how Can I change the Masthead Image in article view? I would the article “intro image” in masthead and not the “Full Article Image”
I try to change this in ja_mono/html/layouts/joomla/content/masthead.php:
defined('_JEXEC') or die;
$params = $displayData['params'];
$item = $displayData['item'];
$topInfo = $displayData['topInfo'];
$icons = $displayData['icons'];
$view = $displayData['view'];
$imageBg = $displayData['imageBg'];
$event = $displayData['event'];
?>
<div class="jamasthead blend-bg" style="background-image:url(<?php echo $imageBg ?>);">
to this:
defined('_JEXEC') or die;
$params = $displayData['params'];
$item = $displayData['item'];
$topInfo = $displayData['topInfo'];
$icons = $displayData['icons'];
$view = $displayData['view'];
$imageBg = json_decode($this->item->images);
$event = $displayData['event'];
?>
<div class="jamasthead blend-bg" style="background-image:url(<?php echo $imageBg ?>);">
But it not found, because it doesn’t load the correct image_intro url (it’s a blank url). Can you help me please?