Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
preview1.png 91.0 kB 2 29-Dec-2020 05:25 Ben Spink
png
preview2.png 29.6 kB 2 29-Dec-2020 05:25 Ben Spink
jpg
preview_config1.jpg 469.3 kB 1 08-Aug-2023 15:23 Ada Csaba
jpg
preview_config2.jpg 183.6 kB 1 08-Aug-2023 15:23 Ada Csaba
jpg
preview_log.jpg 1,215.8 kB 1 08-Aug-2023 20:16 Ada Csaba
jpg
preview_main.jpg 751.2 kB 2 08-Aug-2023 15:26 Ada Csaba
jpg
usermanager_config1.jpg 303.0 kB 1 08-Aug-2023 19:57 Ada Csaba
png
webinterface_folders.png 469.3 kB 2 29-Dec-2020 05:25 Ben Spink

This page (revision-93) was last changed on 07-Nov-2023 02:51 by Sandor

This page was created on 29-Dec-2020 05:25 by Ben Spink

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 2 changed one line
first (usually title) page is rendered, for videos, 10 slides evenly sampled along the duration time.\\
first (usually title) page is rendered. For videos, 10 slides evenly sampled along the duration time, moving the mouse cursor horizontally over the thumbnail will play the slides.\\
At line 5 changed 6 lines
!!Prerequisits:
\\
Thumbnails generation relies on widely used free 3rd party conversion utilities, either part of the host operating system ( qlmanage in case of Mac OS ), can be downloaded from either the OS apps repository ( Linux yum and apt), or as a standalone package from the maintainer's site ( Windows, all OS).\\
The Preview settings page has a dropdown selector list displayed dynamically based on the host OS platform, we'll display the available presets for image and video preview. In case of Windows,
Linux the conversion utilities need to be deployed manually.\\
!Image and document files:
!!!Prerequisits:\\
Thumbnails generation relies on widely used free 3rd party conversion utilities. CrushFTP renders the thumbnail list, but it doesn't include no native media conversion code to generate these, except the conversion scheduler. This latter we call the __Preview Scanner__ component. The required external media conversion utilities are either part of the host operating system (in case of Mac OS), can be downloaded from the OS apps repository ( Linux yum and apt), or as a standalone package from the maintainer's site (Windows, all OS). In case of Windows and Linux the conversion utilities need to be deployed manually.\\
Support for GraphicsMagic only exists from CrushFTP __v10.5.0 Build: 5__ and upwards, previous versions need to be updated.\\
!!Image and document files:\\
At line 47 changed one line
On __Windows__ platforms will need to user GraphicsMagick mandatorily, for the recent versions of ImageMagick will not work with Java no more. There are options, either use the binary installer, or use the portable __.zip__ package and deploy it somewhere.\\
On __Windows__ platforms will need to use GraphicsMagick mandatorily, for the recent versions of ImageMagick will not work with Java no more. There are options, either use the binary installer, or use the portable __.zip__ package and deploy it somewhere.\\
At line 50 changed 2 lines
GraphicsMagick [http://www.graphicsmagick.org/download.html|http://www.graphicsmagick.org/download.html]\\
Ghostscript [https://ghostscript.com/releases/gsdnld.html|https://ghostscript.com/releases/gsdnld.html]\\
GraphicsMagick: [http://www.graphicsmagick.org/download.html|http://www.graphicsmagick.org/download.html]\\
Ghostscript: [https://ghostscript.com/releases/gsdnld.html|https://ghostscript.com/releases/gsdnld.html]\\
At line 55 changed 3 lines
\\
!Video files\\
On __Linux__, need to install __ffmpeg__ from the official app repository, depending on the distro, with apt, yum or dnf, like
!!Video files:\\
On __Linux__, need to install __ffmpeg__ from the official app repository, depending on the distro, with apt, yum or dnf, like
At line 67 removed one line
[https://ffmpeg.org/download.html|https://ffmpeg.org/download.html]
At line 65 added 2 lines
FFmpeg: [https://ffmpeg.org/download.html|https://ffmpeg.org/download.html]\\
\\
At line 72 changed one line
[{Image src='preview_config1.jpg' width='1440' height='..' align='left' style='..' class='..' }]
!EXIF data (optional):\\
We can display additional information under the thumbnails, and potentially all image metadata in the [Quickview|quick Preview] perspective, if __exiftool__ is deployed. It's not a mandatory component, Preview works fine without.\\
On Linux can install it from the official apt, yum, dnf, etc. repository.
On newer versions of Windows, the original Phil Harvey build may not work, in that case need to use the alternate build\\
At line 74 changed 2 lines
!Heading 2 title
Holding down the Alt key while click the Add Folder button allows adding remote items (FTP://, SMB3://, etc.)
Original: [https://exiftool.org/|https://exiftool.org/]\\
Alternate(includes Perl runtime): [https://oliverbetz.de/pages/Artikel/ExifTool-for-Windows|https://oliverbetz.de/pages/Artikel/ExifTool-for-Windows]\\
\\
Deploy the installer version, or download the portable zip, unpack and drop it into the GraphicsMagick binary's parent folder.\\
On Mac OS, need to download and install from the __dmg__ package.\\
\\
To actually display the EXIF data, need to configure in [User Manager|User Manager]->Available Customizations section the __Display EXIF info keys in quick view__ option.\\
To edit the EXIF data, need to enable the __Editable EXIF info keys__ option.\\
\\
[{Image src='usermanager_config1.jpg' width='1440' height='..' align='left' style='..' class='..' }]
At line 77 changed 10 lines
So the top half of the window in general you don't touch or change anything. Just use the preset menu. The bottom half of the window, you specify directories that CrushFTP should monitor for new files. When it sees a new file, it generates a thumbnail for that file.
You can also have thumbnails generated for movie files. OS X has a built in method for doing this, other OS's can use other utilities such as FFmpeg. Still frames will be grabbed out of movies and made available as the mouse hovers over the icon.
[attachments|preview2.png]
The WebInterface with previews being generated may look something like this.
[attachments|webinterface_folders.png]
\\
\\
!!!Setting it up: \\
Once the prerequisites are fulfilled, choose the appropriate preset from the __Conversion utility presets__ dropdown list.
\\
\\
[{Image src='preview_config2.jpg' width='1440' height='..' align='left' style='..' class='..' }]\\
\\
In some cases the automatic __Working directory__ path may be inaccurate, in that case, use the right side __Browse__ button to locate the installation directory of the media conversion utility.
\\
\\
[{Image src='preview_config1.jpg' width='1440' height='..' align='left' style='..' class='..' }]\\
\\
Then in the __lower half__ of the Preview config page, use the __Add folder__ button to browse for the user data directory to be processed by the Preview Scanner. This usually is the top level directory of all user VFS data directories.\\
\\
Holding down the Alt key or Shift key while click the Add Folder button allows adding remote items (FTP://, SMB3://, etc.)\\
\\
So the top half of the window in general you don't touch or change anything. Just use the preset menu. The bottom half of the window, you specify directories that CrushFTP should monitor for new files. When it sees a new file, it generates a thumbnail for that file.\\
\\
To enable __both images/documents and videos preview__, need to add one instance of the Preview config for each with the appropriate preset, using the top right corner __Add Config__ button.\\
\\
!Config parameters explained:\\
__Caution : Changing these fields needs extreme caution as invalid arguments could result in data loss ! __\\
\\
;Conversion utility presets:as mentioned above, to choose a conversion preset for images, videos based on the available utility and OS platform
;Supported file extensions:the file extensions we'll generate thumbnails for. For those unsupported or not listed, we'll render the default icons
;Command Line:the commands the Preview Scanner issues to call the conversion utility.
;Working Directory:the parent directory path of the conversion utility package's main binary
;Environment Variables:some of the conversion tools may read additional parameters from the shell environment these run within, such can be forced here
;Frames:only for video preview, this sets the number of slides we generate
;Info command line:only for video preview, this sets the command to query the video length. the returned value is divided internally by the Frames value to generate the position of the slide
;Get image EXIF info:only used with exiftool, the command to query image files' metadata
;Set image EXIF info:only used with exiftool, the command to update image files' metadata
;Scan subdirectories of directories in below list:toggles recursive scan of the data directories
;Delete thumbnails for files that no longer exist:toggles automatic cleanup of the Previews thumbnail database. May need to turn off in case the VFS backend is unstable.
;Scan interval in minutes:the frequency of the Preview Scanner's scheduler. The more aggressive, the quicker new files are detected at the cost of higher the CPU load
;Threads:multithreaded scanner, needs to be set 2x the number of CPU cores
;Timeout:timeout of a scanner thread, if reached, the failing file will also be blacklisted
;Previews Path:the location of the Preview thumbnails database, by default the CrushFTP10 installation directory. Need to relocate to a separate drive if the users' VFS directory structure is large
\\
!Troubleshooting:\\
Issues with Preview can be traced in the main server log, the __Log__ tab reveals a filtered stream on Preview specific activity.\\
\\
[{Image src='preview_log.jpg' width='1440' height='..' align='left' style='..' class='..' }]
Version Date Modified Size Author Changes ... Change note
93 07-Nov-2023 02:51 8.679 kB Sandor to previous
92 17-Oct-2023 12:42 8.666 kB Ada Csaba to previous | to last
91 08-Aug-2023 20:36 8.667 kB Ada Csaba to previous | to last
90 08-Aug-2023 20:35 8.665 kB Ada Csaba to previous | to last
89 08-Aug-2023 20:32 8.589 kB Ada Csaba to previous | to last
88 08-Aug-2023 20:31 8.585 kB Ada Csaba to previous | to last
87 08-Aug-2023 20:29 8.585 kB Ada Csaba to previous | to last
86 08-Aug-2023 20:26 8.538 kB Ada Csaba to previous | to last
85 08-Aug-2023 20:24 8.542 kB Ada Csaba to previous | to last
84 08-Aug-2023 20:23 8.538 kB Ada Csaba to previous | to last
83 08-Aug-2023 20:19 8.532 kB Ada Csaba to previous | to last
82 08-Aug-2023 20:17 8.552 kB Ada Csaba to previous | to last
81 08-Aug-2023 20:12 8.454 kB Ada Csaba to previous | to last
« This page (revision-93) was last changed on 07-Nov-2023 02:51 by Sandor
G’day (anonymous guest)
CrushFTP10 | What's New
JSPWiki