Bug #60497
closed
[GFX][thumbnails] = 0 not working
Added by Wolfgang Hamster over 10 years ago.
Updated about 6 years ago.
Description
In the Install Tool I've set [GFX][thumbnails] to "0", but the thumbnails are still generated in Backend.
Is there a solution?
Hi!
I checked all usages of this config option in the code.
Unfortunately, I have to tell you that this option is only used in FE when rending filelinks (stdWrap), but not at all in BE.
So clearly the description of this option is totally wrong and the option itself is totally outdated.
Where do you want to hide the thumbs?
- Assignee set to Markus Klein
Hi!
I have a (backend) page with over 200 textpic elements (translations included).
The page speed is very low, because the thumbnail rendering and the image loading took a while.
Have you an idea?
Hm, seems like this was changed with 6.0 or 6.1.
I'm still searching for the commit.
- Status changed from New to Accepted
- Assignee deleted (
Markus Klein)
- Is Regression changed from No to Yes
- Target version set to next-patchlevel
For the brave person taking this one on:
- Open
typo3/sysext/core/Classes/Resource/Processing/LocalPreviewHelper.php
on Line76
- Move the call to
$this->getTemporaryFilePath($task)
away from here
Reasoning:
Getting the temp file name will actually
CREATE the file.
So the file will always be generated even if there is no reason to do so.
Examples:
[GFX][thumbnails] = 0
is set.
- The entire Graphic processing is disabled... you will still create empty files (because of the usage of
tempnam()
and filelist will go "hey, I have images to show"
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF