[TYPO3-dam] dam_frontend - thumbnails in list view?

Brian Bendtsen bb at bellevuevej.dk
Tue Dec 8 10:05:12 CET 2009


Stefan Busemann skrev:
> Hi Brian,
> 
> the thumbnails are rendered via typoscript.
> 
> this is an example of the singleView:
>     singleView {
>         file_name {
>             prepend = IMAGE
>             prepend.file {
>                 import.dataWrap = {field:file_path}{field:file_name}|
>                 width = 100m
>                 height = 100m
>             }
>             prepend.stdWrap.wrap = |<br />
>             # Only if the file could be rendered
>             prepend.stdWrap.if.isTrue.data = TSFE:lastImageInfo|0
> 
>         }
> }
> 
> 
> for the list view you could use this:
> 
> renderFields {
>     title {
>             prepend = IMAGE
>             prepend.file {
>                 import.dataWrap = {field:file_path}{field:file_name}|
>                 width = 100m
>                 height = 100m
>             }
>             prepend.stdWrap.wrap = |<br />
>             # Only if the file could be rendered
>             prepend.stdWrap.if.isTrue.data = TSFE:lastImageInfo|0
> 
>         }
> 
> Stefan
> 
> Teamleader dam_frontend
> 
> Am 01.12.09 11:29, schrieb Brian Bendtsen:
>> Hi
>>
>> Is it somehow possible to display a thumbnail of the pdf in list view?
>>
>> /Brian
> 
Thanks

I will try this

/BB


More information about the TYPO3-project-dam mailing list