Issue Bug Closed

#66421RTE insert Image from drag and drop tab - no image name showed (only size of image)

Mnh Thien Nhan 04/14/15, 14:56 updated 06/15/17, 21:29

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
> 1954 ‘ . $filenameAndIcon . ‘ 
> 1955 ‘ . ($ATag . ‘> 1956 ‘width=“18” height=“16”’) . ‘ title=”’ . $GLOBALS[‘LANG’]->getLL(‘addToList’, TRUE)
> 1957 . ‘” alt=”“ />’ . $ATag_e) . ‘
> 1958 ‘ . ($ATag2 . ‘> 1959 ‘gfx/zoom2.gif’, ‘width=“12” height=“12”’) . ‘ title=”‘
> 1960 . $GLOBALS[‘LANG’]->getLL(‘info’, TRUE) . ‘” alt=”“ /> ‘
> 1961 . $GLOBALS[‘LANG’]->getLL(‘info’, TRUE) . $ATag2_e) . ‘
> 1962  ’ . $pDim . ‘
> 1963 ‘;
> 1964 $lines[] = ‘
> 1965
> 1966 ‘ . $ATag_alt . $clickIcon . $ATag_e . ‘
> 1967 ‘;
> 1968 }

It’s very nice, if the name of image is showed instead of the size.
Thank you!!!

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.