Hello,
For images, why is there an A tag when there is no link ?
In
/components/com_easyblog/themes/wireframe/blogs/blocks/image.php
If the popup_url is empty, shouldn't the A tag be replaced by a div ?
<?php if (empty($block->data->popup_url)) { ?>
<a class="eb-image-viewport"<?php echo $imageLinkAttr; ?>>
<?php } ?>
<img src="/<?php echo $block->data->url;?>" <?php echo isset($block->data->alt_text) && $block->data->alt_text ? 'alt="' . $block->data->alt_text . '"' : '';?>
<?php echo $imageElementAttr; ?>/>
</a>
By :
<?php if (empty($block->data->popup_url)) { ?>
<div class="eb-image-viewport"<?php echo $imageLinkAttr; ?>>
<img src="/<?php echo $block->data->url;?>" <?php echo isset($block->data->alt_text) && $block->data->alt_text ? 'alt="' . $block->data->alt_text . '"' : '';?>
<?php echo $imageElementAttr; ?>/>
</div>
<?php } ?>
Thank you,
Philippe