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