[FLOW3-general] ResourceManager: ViewHelper and StorageBaseUri

Robert Lemke robert at typo3.org
Mon Jan 11 10:13:51 CET 2010


Hey Julian,

just a sidenote: you're using a feature which is part of the next release (alpha7) so there still might be some oddities in there. I already wrote most of the documentation for the resource mgm and file upload features. The updated manual will be released together with alpha7.

I guess things will become more clear once we have all that released.

Cheers,
robert

Am 09.01.2010 um 15:48 schrieb Julian Kleinhans:

> Hi list,
> 
> at the moment i code an importer where i use the ResourceManager to import some images.
> 
> Here is a little code snippet
> 
> [...]
> $resource = $this->recourceManager->importResource('http://www.domain.de/image.gif);
> 
> $image = $this->objectFactory->create('F3\PACK\Domain\Model\Image');	
> $image->setOriginalResource($resource);	
> 
> $tutorialModel->setResultImage($image);	
> [...]
> 
> 
> Now i have two questions:
> To output the image i use the viewHelper
> 
> 	<img src="{f:uri.resource(object: {tutorial.resultImage})}" />
> 
> the problem is, that this string is not replaced by fluid.. it is output the raw string .. is this a bug or do i something wrong ??
> 
> The next question is .. is there any possibility to change the persistentResourcesStorageBaseUri ?
> 
> 
> thanks and greetz
> julian
> 
> -- 
> Julian Kleinhans
> Certified TYPO3 Integrator
> email: typo3 at kj187.de
> web:   http://www.typo3-tutorials.org
> 
> Xing: http://www.xing.com/profile/Julian_Kleinhans
> Twitter: http://twitter.com/kj187
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general



More information about the FLOW3-general mailing list