|
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
fileId |
int | Id of the file in the file gallery | 18.0 | |
range |
Page range preview in the format |
21.0 | ||
animation |
int | Output should be a static image (0 ) or an animation (1 ) |
18.0 | |
download |
int | Show download link to the original file | 19.0 | |
height |
int | Height of the result in pixels | 18.0 | |
width |
int | Width of the result in pixels | 18.0 |
The preview pdf and other document formats, media-alchemyst package is required.
Also ensure that the system is configured to avoid Document to Image conversion issues. Media-Alchemyst - Document to Image issues
Original commit: http://sourceforge.net/p/tikiwiki/code/64528
If your files are public, you can also use PluginWebDocViewer