[TYPO3-core] RFC: Bug #10744: Icon path calculated incorrectly in t3lib_tceforms->getIcon()

Oliver Hader oliver at typo3.org
Thu May 28 08:54:07 CEST 2009


Hi Jeff,

Jeff Segars schrieb:
> Solution:
> The solution is to clean up the path that skinImg() gives us and remove
> the backPath before using it in getimagesize().
> 
> The easiest way to test this is in the frontend editing mode where forms
> show up directly on the page, but the issue should affect anywhere that
> there's a backPath.

I can confirm that this works. In current frontend editing, there is no
information available concerning the image dimensions. With your patch
the file name changed like shown below and provides correct dimensions
again:

"/[website.com]/typo3/typo3/gfx/i/tt_content_header.gif" ->
"gfx/i/tt_content_header.gif"

+1 on reading and testing

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list