[TYPO3-english] hook in thumbnail generation? [WAS: questions about FAL]

bernd wilke t3ng at bernd-wilke.net
Thu Apr 17 13:32:56 CEST 2014


Am 17.04.14 11:51, schrieb Christian Weiske:
> Hello Bernd,
>
>
>>> No this is not possible to load thumbnails from the image server.
>>> Even when you have a own FAL storage adapter, the standard TYPO3
>>> methods of scaling/thumbnailing are used, only the (maybe copied to
>>> local) files from your storage driver.
>>
>> is it possible to hook into the thumbnail generation?
>> or replace it? or anything like this?
>
> We have not looked deep into it, but there are no standard easy ways to
> do that.

the thumbnails are called with /typo3/thumbs.php.
I have not found any hook or XClass in it.
Do I have to change the core to replace this file?

> It might be possible by overriding
>> TypoScriptFrontendController->cObj->getImgResource()
> that is used to scale images in most (all?) cases.

but only for the FE?
I solved the FE-usage: see below.

> If you implement that, please tell me :)
> We wrote a storage driver for FAL that accesses an image server, but
> currently only use the original files, letting TYPO3 scale the images
> as needed - although the image server actually already has thumbnails.

that is a similar usage than mine. as my TYPO3 only provide snippets and 
is not reachable from outside I *must* access all images on the 
imageserver, and also the resized images.
As my editors can access only our own CEs (fluidcontent) I have the full 
control to change domain and path (resizing) to any image before it is 
transfered to the shop which includes the snippets.

but navigating the server (to be exact: the local sync-source, which is 
mounted to the TYPO3-server) is a pain because of the hundreds and 
thousands of images in some folders. And all those image are thumbnailed 
by TYPO3 and these thumbnails are stored localy beside the mount.

bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-english mailing list