Bug #18551
closedIMG_RESOURCE doesn't support file name with space
0%
Description
Problem exists when you want to link a file with space in name using .file property in IMG_RESOURCE object. Url to this file contains only chars before space, and all after are cut.
For example, if your file name is: "uploads/pics/name with_space.jpg" your link will be "uploads/pics/name".
Additionaly, in normal way Typo3 checks if file exists and if not the link will be deleted, but in this situation file "uploads/pics/name with_space.jpg" exists, but bad link will be rendered.
temp.test = TEXT
temp.test {
value = test
typolink {
parameter.cObject = IMG_RESOURCE
parameter.cObject.file = uploads/pics/name with_space.jpg
}
}
(issue imported from #M8003)
Updated by Christian Kuhn about 16 years ago
Confirmed.
But TYPO3 always substitutes whitespaces with underscores in files when uploading them. So I do not know if we should fix this.
IMAGE.file works with whitespaces, though.
Updated by df3ct over 15 years ago
Yes, you are right, it's rather a feature than bug. It was very problematic for me in some cases in the past. I think that request is outdated and coused by documentation misunderstood.
Updated by Thundernail almost 14 years ago
I would like to use the IMG_RESOURCE for my photo gallery in combination with the extension "Perfect Lightbox". Because of the amount of images, the images are uploaded my FTP and so I have the problem with spaces in the file names know :-(.
Updated by Jo Hasenau almost 14 years ago
Will take a look at it, while fixing other tslib_content stuff
Updated by Jo Hasenau almost 14 years ago
BTW: Could you provide your system configuration, since this bug may be related to the problems with IM/GM on Windows or with safe mode on.
Updated by Alexander Opitz over 11 years ago
- Category deleted (
Communication) - Status changed from Accepted to Needs Feedback
- Target version deleted (
0)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
- Assignee deleted (
Benni Mack) - Is Regression set to No
No feedback for over 90 days.