[FLOW3-general] ResourceManager: ViewHelper and StorageBaseUri
Julian Kleinhans
typo3 at kj187.de
Sat Jan 9 15:48:46 CET 2010
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
More information about the FLOW3-general
mailing list