Issue Bug Closed

#22366wrong image dimension returned if alternative logo is set and skin-extension is installed in global-space (backend-redesign)

Stephan Kellermayr 03/31/10, 20:48 updated 10/17/10, 11:01

Description

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 if 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’.

(issue imported from #M13985)

Reviews 0

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