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

Stefan Busemann stefan.busemann at web.de
Thu Dec 3 21:50:42 CET 2009


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



More information about the TYPO3-project-dam mailing list