Ok there seems to be a bit of a difference between those two code blocks
This is the media.php in the Justica JA Content Listing (/modules/mod_jacontentlisting/tmpl/elements/media.php)
<?php if ($item_image && !empty($item_image->image_intro) && $show_image) : ?>
<?php if(!preg_match("/http/i",$item_image->image_intro,$matches)): ?>
<?php
$item_image->image_intro = JUri::root() . $item_image->image_intro;
?>
<?php endif; ?>
<div class="jacl-item__media <?php echo $options->get('item_media_style'); ?> <?php echo $options->get('item_media_ratio'); ?>">
<a href="<?php echo $item->link; ?>" title="<?php echo $item->title; ?>"><img src="<?php echo $item_image->image_intro; ?>" alt="<?php echo $item->title; ?>"></a>
<span class="item-media-mask"></span>
</div>
<?php endif; ?>
As you can see there is a <a> wrapped around the image.
and this is the solution from your other thread -
<?php if ($item_image && !empty($item_image->image_intro) && $show_image) : ?>
<div class="jacl-item__media <?php echo $options->get('item_media_style'); ?> <?php echo $options->get('item_media_ratio'); ?>">
<a href="<?php echo $item->link; ?>" title="<?php echo $item->title; ?>">
<img src="<?php echo JUri::root().$item_image->image_intro; ?>" alt="<?php echo $item->title; ?>"></a>
<span class="item-media-mask"></span>
</div>
<?php endif; ?>
The first has the whole preg_match bit where as the solution doesn't?
Thoughts?