PluginPreview
A Wiki Plugin added to Tiki18
A Wiki Plugin to preview files from the file gallery. Allows the user to generate animated gifs from videos, and scaled previews for images and videos.
Starting in Tiki20, can preview more file types via unoconv. It requires appropriate tools on the server to convert file to HTML. See requirements at https://packagist.org/packages/media-alchemyst/media-alchemyst , and these have been added to Tiki Check.
Parameters
Enabled to generate preview of images or video filesIntroduced in Tiki 18. Required parameters are in
bold
.Go to the source code
Preferences required: wikiplugin_preview
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 |
Preview PDF and other documents
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
Notes
Original commit: http://sourceforge.net/p/tikiwiki/code/64528
Related
If your files are public, you can also use PluginWebDocViewer