No Code Attached Yet
avatar PhocaCz
PhocaCz
13 Dec 2021

Steps to reproduce the issue

Hi,

not sure, if I miss some parameter or option, but I don't see full image names in Media Manager. The question is, why the image names don't include "title" attributes to display full title when hovering.

Expected result

When I hover over the image title, the title attribute will display full image name

img

Actual result

When I hover over the image title, no full image name is displayed
img

System information (as much as possible)

Joomla 4.0.4

Jan

avatar PhocaCz PhocaCz - open - 13 Dec 2021
avatar joomla-cms-bot joomla-cms-bot - change - 13 Dec 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 13 Dec 2021
avatar PhocaCz PhocaCz - change - 13 Dec 2021
Title
Missing title attribute of image names in Media Manager
[4.0]Missing title attribute of image names in Media Manager
avatar PhocaCz PhocaCz - edited - 13 Dec 2021
avatar brianteeman
brianteeman - comment - 14 Dec 2021

I can't think of any good reason for the title not to be displayed

avatar brianteeman
brianteeman - comment - 13 Jan 2022

I can't think of any good reason for the title not to be displayed

except for the fact the image is a background and you are actually hovering over a layer on top of the image. So even if you put the title it will never be displayed

avatar PhocaCz
PhocaCz - comment - 14 Jan 2022

except for the fact the image is a background and you are actually hovering over a layer on top of the image. So even if you put the title it will never be displayed

The "title" attribute is missing on file name text below the image not on image itself. This way, it works even in Joomla 3:

So adding a title attribute to "media-browser-item-info" div should do the trick:
img

img

Joomla 3 - full title when hovering file name:
img

avatar brianteeman
brianteeman - comment - 14 Jan 2022

I didnt think of trying to put the title on the div. Doing that will display the title BUT its not very intuitive as you are much more likely to hover over the image.

How about this way and then the title is on the image area

image

image

avatar PhocaCz
PhocaCz - comment - 14 Jan 2022

It is important to be able to see the full file name. Is it on the image, or the name, or both? Personally, I'd put it above both the image and the name.

Now it's more a question for the developers of the hover effect over the image. If it doesn't have any negative effect on this effect. If not, then the full name is fine with the hover effect over the image.

avatar Shubhamverma2796
Shubhamverma2796 - comment - 20 Jan 2022

please test #36754.

avatar richard67 richard67 - change - 20 Jan 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-01-20 08:51:21
Closed_By richard67
avatar richard67 richard67 - close - 20 Jan 2022
avatar richard67
richard67 - comment - 20 Jan 2022

Closing as having a pull request. Please test #36754 . Thanks in advance.

Add a Comment

Login with GitHub to post a comment