?
avatar nronline
nronline
3 Jul 2017

Steps to reproduce the issue

Amazed that by default article intro images do not have links attached to their corresponding articles OR a field for a title tag on the bag end for adding the link.

It would be good for this to be available by default. It's also proven that the engagement rate for clicking images is much higher than headings/text in general.

Is it possible this will get added and does anyone have the code to add this manually? so far i have

src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/>

Expected result

Article image linked to main article and title tag to be replicated from image alt tag

Actual result

System information (as much as possible)

Additional comments

avatar nronline nronline - open - 3 Jul 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Jul 2017
avatar brianteeman
brianteeman - comment - 3 Jul 2017

are you talking about the image on a blog category page?

If so then Joomla does by default add a link to the full article on the image. If you dont have that then your template is probably overriding the default layout for a blog page and not adding the code for the link

avatar brianteeman brianteeman - change - 3 Jul 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-07-03 14:24:56
Closed_By brianteeman
avatar brianteeman brianteeman - close - 3 Jul 2017
avatar brianteeman brianteeman - change - 3 Jul 2017
Status Closed New
Closed_Date 2017-07-03 14:24:56
Closed_By brianteeman
avatar brianteeman brianteeman - reopen - 3 Jul 2017
avatar nronline
nronline - comment - 3 Jul 2017

Hi Brian, not just the blog-item.php page but general articles, basically anything with the ability to add an article intro image. Looking for overrides now

avatar brianteeman
brianteeman - comment - 3 Jul 2017

as for your comment about the title tag - it does exist under the image its called caption

avatar nronline
nronline - comment - 3 Jul 2017

Hi Brian, a caption and a title are two different things. I would expect the title attribute to be displayed over a link when the user hovers over it. A caption is basically a description of an image. They are two different things. I do not want to show a caption for the image I simply want to add a title attribute to the anchor link attached to the image :)

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Jul 2017
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Jul 2017
Category com_content
avatar brianteeman
brianteeman - comment - 3 Aug 2017

Hi Brian, not just the blog-item.php page but general articles, basically anything with the ability to add an article intro image. Looking for overrides now

Sorry I dont follow you - the intro image is only displayed on a blog-item page and not on any other page and the code you refer to in your first post is already present

avatar brianteeman
brianteeman - comment - 20 Aug 2017

@nronline please respond to my question as I can not understand what your issue is. If not this will be closed in a few weeks

avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Aug 2017
Status Discussion Information Required
avatar brianteeman
brianteeman - comment - 9 Sep 2017

Clozed

avatar brianteeman brianteeman - change - 9 Sep 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-09-09 13:13:07
Closed_By brianteeman
avatar brianteeman brianteeman - close - 9 Sep 2017

Add a Comment

Login with GitHub to post a comment