Project

General

Profile

Actions

Bug #18513

closed

imagegeneration does not work with im_path set to a path with whitespaces

Added by Stephan Petzl about 16 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2008-03-31
Due date:
% Done:

0%

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

Description

after installing TYPO3 into this path:
"D:\Programme\TYPO3 Winstaller\htdocs\Testsite\"
i noticed that $this->cObj->IMAGE returns only an empty image.
through debugging i found out that the problem can be fixed by wrapping the im_path (which is set in the install-tool) with doublequotes:
// line 5050 in class.t3lib_div.php
if(!$path) { $path = "\"".$gfxConf['im_path']."\""; }
//old version
if(!$path) { $path = $gfxConf['im_path']; }

(issue imported from #M7967)

Actions

Also available in: Atom PDF