ViewHelper Documentation
v:media.pdfThumbnail
Converts the provided PDF file into a PNG thumbnail and renders the according image tag using Fluid's standard image ViewHelper thus implementing its arguments. For PDF documents with multiple pages the first page is rendered by default unless specified.
Arguments
- additionalAttributes
- src
- relative
- width
- height
- maxW
- maxH
- minW
- minH
- format
- quality
- treatIdAsReference
- class
- dir
- id
- lang
- style
- title
- accesskey
- tabindex
- onclick
- usemap
- ismap
- alt
- path
- minWidth
- minHeight
- maxWidth
- maxHeight
- density
- background
- rotate
- page
- forceOverwrite
additionalAttributes anySimpleType
Additional tag attributes. They will be added directly to the resulting HTML tag.
src anySimpleType
Path to the media resource(s). Can contain single or multiple paths for videos/audio (either CSV, array or implementing Traversable).
relative boolean
If FALSE media URIs are rendered absolute. URIs in backend mode are always absolute.
width string
Width of the image. This can be a numeric value representing the fixed width of the image in pixels. But you can also perform simple calculations by adding "m" or "c" to the value. See imgResource.width for possible options.
height string
Height of the image. This can be a numeric value representing the fixed height of the image in pixels. But you can also perform simple calculations by adding "m" or "c" to the value. See imgResource.width for possible options.
maxW integer
Maximum Width of the image. (no upscaling)
maxH integer
Maximum Height of the image. (no upscaling)
minW integer
Minimum Width of the image.
minH integer
Minimum Height of the image.
format string
Format of the processed file - also determines the target file format. If blank, TYPO3/IM/GM default is taken into account.
quality integer
Quality of the processed image. If blank/not present falls back to the default quality defined in install tool.
treatIdAsReference boolean
When TRUE treat given src argument as sys_file_reference record. Applies only to TYPO3 6.x and above.
class string
CSS class(es) for this element
dir string
Text direction for this HTML element. Allowed strings: "ltr" (left to right), "rtl" (right to left)
id string
Unique (in this file) identifier for this HTML element.
lang string
Language for this element. Use short names specified in RFC 1766
style string
Individual CSS styles for this element
title string
Tooltip text of element
accesskey string
Keyboard shortcut to access this element
tabindex integer
Specifies the tab order of this element
onclick string
JavaScript evaluated for the onclick event
usemap string
A hash-name reference to a map element with which to associate the image.
ismap string
Specifies that its img element provides access to a server-side image map.
alt string
Equivalent content for those who cannot process images or who have image loading disabled.
path string
Path to PDF source file
minWidth integer
Minimum width of resulting thumbnail image
minHeight integer
Minimum height of resulting thumbnail image
maxWidth integer
Maximum width of resulting thumbnail image
maxHeight integer
Maximum height of resulting thumbnail image
density integer
Canvas resolution for rendering the PDF in dpi (higher means better quality)
background string
Fill background of resulting image with this color (for transparent source files)
rotate integer
Number of degress to rotate resulting image by (caution: very slow if not multiple of 90)
page integer
Optional page number to render as thumbnail for PDF documents with multiple pages
forceOverwrite boolean
Forcibly overwrite existing converted PDF files