[TYPO3-core] RFC #13985: bugfix/code cleanup: wrong image dimension returned if alternative logo is set and skin-extension is installed in global-space (backend-redesign)
Susanne Moog
typo3 at susannemoog.de
Sun Apr 11 09:03:56 CEST 2010
Hi,
On 31.03.2010 20:54, Stephan N Kellermayr wrote:
> this is an SVN patch request.
>
> type: bugfix/code cleanup
>
> bugtracker references:
> http://bugs.typo3.org/view.php?id=13985
>
> branches:
> trunk, current branch
>
> problem:
> if an alternative TYPO3-logo is set in $GLOBALS['TBE_STYLES']['logo']
> and a skin-extension is installed in 'typo3/ext/' (globally), the
> 'typo3/classes/class.typo3logo.php' does not check the image-dimensions.
> instead it outputs the alternative image with the size of the default
> logo. thats bad for backend-redesigners, because the alternative logo is
> displayed squashed.
>
> solution:
> just remove the substring-check '../', resolve the backpath to the
> alternative logo-file and always run through 'getimagesize'.
+1 by reading and testing,
best regards,
Susanne
More information about the TYPO3-team-core
mailing list