?
avatar michaelhq
michaelhq
31 Jan 2017

When an image is added with the «Image» dialogue in TinyMCE, there are input fields for “Im-age Description” and “Image Title” (cf. figure 1).

The image title pops up when on the webpage the mouse cursor is hovering over the image. The image description is used, when the image is not displayed e.g. in a text based browser like lynx or for barrier-free display of the webpage.

screen shot 2017-01-31 at 10 25 44

The source code generated by the editor for the example in figure 1:

<figure><img title="Powered By - Image Titel" src="images/powered_by.png" alt="Powered By - Image Description" />
<figcaption>Powered By - Image Caption</figcaption>
</figure>

The following problem occurs only, when in the TinyMCE editor setting the “Functionality” is set to “Extended”. With the setting on “Extended” (the only useful mode in my honest opinion), there is a function to edit the image of an already inserted in an article (menu “Insert” -> “Insert/edit image” or button with image icon). There the image description is displayed, but not the image title (figure 2).

screen shot 2017-01-31 at 10 25 44

However, TinyMCE supports to edit the image title: https://www.tinymce.com/docs/plugins/image/#image_title

It is only not enabled in the Joomla implementation of TinyMCE.

If the following line is added after line 926 in “plugins/editors/tinymce/ tinymce.php” (version from joomla 3.6.5), the image title is displayed and can be edited (cf. figure 3).

924			image_advtab: $image_advtab,
925			height : \"$html_height\",
926			width : \"$html_width\",
			image_title: true,
927		});
928		";
929				break;

screen shot 2017-01-31 at 10 25 44

Would be nice to have this code changed in future Joomla versions.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar michaelhq michaelhq - open - 31 Jan 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 31 Jan 2017
avatar infograf768
infograf768 - comment - 31 Jan 2017

@Fedik
I think it's easy enough to add line 1982 in staging. Can you look at it?

avatar michaelhq michaelhq - change - 31 Jan 2017
The description was changed
avatar michaelhq michaelhq - change - 31 Jan 2017
The description was changed
avatar michaelhq michaelhq - edited - 31 Jan 2017
avatar michaelhq michaelhq - change - 31 Jan 2017
The description was changed
avatar michaelhq michaelhq - change - 31 Jan 2017
The description was changed
avatar michaelhq michaelhq - edited - 31 Jan 2017
avatar michaelhq michaelhq - change - 31 Jan 2017
The description was changed
avatar michaelhq michaelhq - change - 31 Jan 2017
The description was changed
avatar michaelhq michaelhq - edited - 31 Jan 2017
avatar michaelhq
michaelhq - comment - 31 Jan 2017

I have formatted the code correctly in the description.

Thank you for looking into it! :-)

Best regards
Michael


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13818.

avatar michaelhq michaelhq - change - 31 Jan 2017
The description was changed
avatar michaelhq michaelhq - change - 31 Jan 2017
The description was changed
avatar michaelhq michaelhq - edited - 31 Jan 2017
avatar Fedik
Fedik - comment - 31 Jan 2017

please test #13833

avatar joomla-cms-bot joomla-cms-bot - change - 31 Jan 2017
The description was changed
Status New Closed
Closed_By infograf768 joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 31 Jan 2017
avatar infograf768 infograf768 - change - 31 Jan 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-01-31 17:07:47
Closed_By infograf768
avatar joomla-cms-bot joomla-cms-bot - change - 31 Jan 2017
Status Closed New
avatar joomla-cms-bot joomla-cms-bot - edited - 31 Jan 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 31 Jan 2017
avatar infograf768
infograf768 - comment - 31 Jan 2017

Closed as we have a patch #13833


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13818.

Add a Comment

Login with GitHub to post a comment