[TYPO3-core] RFC: #9773: Fallback for skinImg having forceFileExtension
Steffen Kamper
info at sk-typo3.de
Tue Nov 11 23:52:17 CET 2008
Hi,
this is a SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=9773
Branches: trunk, 4_2
Problem:
The problem is visible with the icon used for insert from clipboard.
There is a icon used "insert5.png" (see insert1.png). Same icon exists
in t3skin, but it's not shown because forceFileExtension is set to "gif"
So the function looks for insert5.gif, which doesn't exists and displays
the one from oldskin.
Solution:
use a fallback if the icon with forceFileExtension doesn't exists and
look for original file (insert5.png). The attached patch does this and
fix the problem, the icon from t3skin is shown now.
vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 9773_fallback.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081111/c15441d3/attachment-0001.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: insert1.png
Type: image/png
Size: 5625 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081111/c15441d3/attachment-0002.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: insert2.png
Type: image/png
Size: 5632 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081111/c15441d3/attachment-0003.png
More information about the TYPO3-team-core
mailing list