Skip to content
Snippets Groups Projects
Commit 1c4a1ca5 authored by Henry Singleton's avatar Henry Singleton Committed by Benni Mack
Browse files

[TASK] Update fluid image viewhelper documentation

Adds PDF file example to the fluid "image" viewhelper documentation.
This demonstrates a capability of the image viewhelper that isn't currently
explained in the documentation.

Change-Id: Ice82c005ec66173c19d0f29efe069d23b3f46fdc
Resolves: #77348
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/49292


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 433c242e
Branches
Tags
No related merge requests found
......@@ -46,7 +46,15 @@ use TYPO3\CMS\Core\Resource\FileReference;
* (depending on your TYPO3s encryption key)
* </output>
*
* <code title="non existing image">
* <code title="Other resource type (e.g. PDF)">
* <f:image src="fileadmin/user_upload/example.pdf" alt="foo" />
* </code>
* <output>
* If your graphics processing library is set up correctly then it will output a thumbnail of the first page of your PDF document.
* <img src="fileadmin/_processed_/1/2/csm_example_aabbcc112233.gif" width="200" height="284" alt="foo">
* </output>
*
* <code title="Non-existant image">
* <f:image src="NonExistingImage.png" alt="foo" />
* </code>
* <output>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment