[TYPO3-core] RFC #15133: Bug: Rendering Images with ImageMagick fails in case of file-permissions

Jigal van Hemert jigal at xs4all.nl
Wed Jul 28 10:28:58 CEST 2010


Alexander Grein wrote:
> Problem: If an image goes thru an image manipulation routine using 
> GD-Lib or ImageMagick, the file permission of this generated picture 
> (using t3lib_div.fixPermissions) will not be set correctly. So 
> manipulated images will not be shown in frontend (depending on server 
> settings).
> 
> The Problem is the new version of fixPermission in t3lib_div with the 
> new line (3001):
> if (self::isAllowedAbsPath($path))
> This inquiry is always false in case of the given path contains a 
> generated images (because the path is not absolute)

t3lib_div::fixPermissions() requires to be called with an absolute path, 
so the real solution IMO would be to call it with an absolute path.

-1 for this solution

-- 
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh


More information about the TYPO3-team-core mailing list