Project

General

Profile

Actions

Bug #22366

closed

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

Added by Stephan Kellermayr over 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-03-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

class.typo3logo.php.0013985.diff (1.06 KB) class.typo3logo.php.0013985.diff Administrator Admin, 2010-03-31 20:50
13985_v2.diff (1.42 KB) 13985_v2.diff Administrator Admin, 2010-04-11 14:29

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #22368: wrong image dimension returned if alternative logo is set and skin-extension is installed in global-space (backend-redesign) #2Closed2010-04-01

Actions
Actions #1

Updated by Steffen Kamper over 14 years ago

committed v2 to svn
trunk rev 7285
4_3 rev 7286

Actions

Also available in: Atom PDF