At line 1 changed one line |
__OS X ImageMagick__ |
__Windows ImageMagick__ |
At line 3 changed one line |
Download the binary release of Imagemagick and configure CrushFTP to use it. |
If you are using Windows, you will need to download and install ImageMagick. ImageMagick is a free third party tool that handles the conversion of many different file formats. Its used to convert the images to small thumbnails. |
At line 5 changed one line |
Get the pre-compiled binaries for OS X via the http link on this page: [http://www.imagemagick.org/script/binary-releases.php] |
[http://www.imagemagick.org/script/binary-releases.php#windows] |
At line 7 changed one line |
Extract the archive by double clicking it, and place the folder into your Applications folder. |
I generally get the top link via HTTP. |
At line 9 changed one line |
Next, open the CrushFTP server settings and select the Preview tab. |
[attachments|imagemagick_link.png] |
At line 11 changed one line |
From the drop down, pick imagemagick. |
The Command Line should start with just "convert.exe" and not "./convert". |
At line 13 changed one line |
Set the Command Line to start with "./convert " instead of just "convert". |
The Environment Variables field should be blanked out for Windows too. |
At line 15 changed one line |
[attachments|imagemagick_config.png] |
__Windows GhostScript__ |
At line 17 added one line |
If you want to make thumbnails of PDF or TIFF images, then you will also need GhostScript installed. Click on the latest release. |
At line 18 changed 2 lines |
Set the working directory to be: |
{{{/Applications/ImageMagick-6.5.9/bin/}}} |
[http://www.ghostscript.com/download/gsdnld.html] |
At line 21 changed 2 lines |
Set the Environment Variables to be: |
{{{MAGICK_HOME=/Applications/ImageMagick-6.5.9/;DYLD_LIBRARY_PATH=/Applications/ImageMagick-6.5.9/lib/}}} |
Then click on either the 32bit or 64bit version. |
At line 24 changed 2 lines |
------- |
__Windows ImageMagick__ |
[attachments|ghostscript.png] |
At line 27 removed one line |
If you are using Windows, you will need to download and install ImageMagick. ImageMagick is a free third party tool that handles the conversion of many different file formats. Its used to convert the images to small thumbnails. |
At line 29 changed one line |
[http://www.imagemagick.org/script/binary-releases.php#windows] |
__Other ImageMagick Installations__ |
At line 31 changed one line |
I generally get the top link via HTTP. |
If ImageMagick is installed on the OS, and the command "convert" functions from a terminal, do the following to configure CrushFTP to use it. |
At line 33 changed one line |
[attachments|imagemagick_link.png] |
Do a "which convert" to see the folder where ImageMagick is installed. In my case, it was /opt/local/bin/. |
At line 35 changed one line |
__Windows GhostScript__ |
Set the Working Directory to be this path: /opt/local/bin/ |
At line 37 changed one line |
If you want to make thumbnails of PDF or TIFF images, then you will also need GhostScript installed. Click on the latest release. |
Set the start of the Command Line to be "./convert ".... |
At line 39 changed one line |
[http://pages.cs.wisc.edu/~ghost/] |
Next do a "echo $PATH" to see what the PATH is in your terminal. |
At line 41 changed one line |
Then click on either the 32bit or 64bit version. |
(Mine was:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin) |
At line 43 changed one line |
[attachments|ghostscript.png] |
Copy this, and paste this for the environment variables as follows: |
|
PATH=(pasted PATH info you copied) |
|
Enable the debug checkbox, and let it run to see the results. (Restart CrushFTP to make it run immediately at startup.) |