[TYPO3-german] Re: FLUID image download with f:link.page and f:uri.image

Thomas Faßbender t.fassbender at tmg-web.de
Wed May 27 09:07:02 CEST 2015


Quote: Thomas Faßbender (thofas) wrote on Wed, 27 May 2015 08:59
----------------------------------------------------
> <f:link.page pageUid="{f:uri.image(src:'{fileReference.originalResource.publicUrl}')}" target="_blank">
> <i class="fa fa-save"></i> Download
> </f:link.page>
> 
> generates the following error:
> 
> Templating tags not properly nested. Expected: TYPO3\CMS\Fluid\ViewHelpers\Link\PageViewHelper; Actual: TYPO3\CMS\Fluid\ViewHelpers\ForViewHelper
----------------------------------------------------

SORRY! this was from another bug.

Now I tried your solution, but with this no link will be built.

A quick look into {fileReference.originalResource} width f:debug shows that originalResource is NULL. 
Any idea?


More information about the TYPO3-german mailing list