Bug #66421
closedRTE insert Image from drag and drop tab - no image name showed (only size of image)
0%
Description
When i insert in RTE an image with Drag and Drop, in Drag and Drop tab can i see a list of images with only the size of images above instead of the name.
I've found in ElementBrowser.php these lines:
1909 $pDim = $imgInfo0 . 'x' . $imgInfo1 . ' pixels';
.....
1950 if ($pDim) {
1951 // Image...
1952 $lines[] = '
1953 <tr class="file_list_normal">
1954 <td nowrap="nowrap">' . $filenameAndIcon . ' </td>
1955 <td>' . ($ATag . '<img' . IconUtility::skinImg($GLOBALS['BACK_PATH'], 'gfx/plusbullet2.gif',
1956 'width="18" height="16"') . ' title="' . $GLOBALS['LANG']->getLL('addToList', TRUE)
1957 . '" alt="" />' . $ATag_e) . '</td>
1958 <td nowrap="nowrap">' . ($ATag2 . '<img' . IconUtility::skinImg($GLOBALS['BACK_PATH'],
1959 'gfx/zoom2.gif', 'width="12" height="12"') . ' title="'
1960 . $GLOBALS['LANG']->getLL('info', TRUE) . '" alt="" /> '
1961 . $GLOBALS['LANG']->getLL('info', TRUE) . $ATag2_e) . '</td>
1962 <td nowrap="nowrap"> ' . $pDim . '</td>
1963 </tr>';
1964 $lines[] = '
1965 <tr>
1966 <td class="filelistThumbnail" colspan="4">' . $ATag_alt . $clickIcon . $ATag_e . '</td>
1967 </tr>';
1968 }
It's very nice, if the name of image is showed instead of the size.
Thank you!!!
Files
Updated by Riccardo De Contardi over 9 years ago
still present in both 6.2.14 and 7 (latest master)
Updated by Riccardo De Contardi about 9 years ago
- Category set to RTE (rtehtmlarea + ckeditor)
Updated by Riccardo De Contardi about 9 years ago
- Target version set to Candidate for patchlevel
Updated by Riccardo De Contardi almost 9 years ago
In version 8.1-dev (latest master) the drag&drop tab has been removed AFAICS.
Updated by Riccardo De Contardi over 7 years ago
- File Schermata 2017-06-15 alle 21.02.24.png Schermata 2017-06-15 alle 21.02.24.png added
- File Schermata 2017-06-15 alle 21.01.21.png Schermata 2017-06-15 alle 21.01.21.png added
- Status changed from New to Closed
- Target version deleted (
Candidate for patchlevel)
I attach a couple of screenshots showing the add image popup for RTEHtmlarea in 6.2.30 and 7.6.18 - in 7.6.18 the drag and drop tab has been removed AFAICS.
We are sorry but TYPO3 6.2 has reached the end of its lifecycle, so I will close this one for now.
If you think that this is the wrong decision then please reopen it or open a new issue with a reference to this one. Thank you!