{* * $Revision: 15342 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *}
{g->text text="NetPBM is a graphics toolkit that can be used to process images that you upload to Gallery. You must install the NetPBM binaries on your server, then enter the path to them in the text box below. If you're on a Unix machine, don't forget to make the binaries executable (chmod 755 * in the NetPBM directory should do it)"}
| {g->text text="NetPBM Directory:"} |
{g->autoComplete element="giNetPBMPath"}
{g->url arg1="view=core.SimpleCallback" arg2="command=lookupDirectories"
arg3="prefix=__VALUE__" htmlEntities=false}
{/g->autoComplete}
{if isset($form.error.path.missing)}
{g->text text="You must enter a path to your NetPBM binaries"}
{/if}
{if isset($form.error.path.testError)}
{g->text text="The path you entered doesn't contain valid NetPBM binaries. Use the 'test' button to check where the error is."}
{/if}
{if isset($form.error.path.badPath)}
{g->text text="The path you entered isn't a valid path."}
{/if}
|
| {g->text text="JPEG Quality:"} |
{g->text text="NetPBM will lose embedded EXIF data if you modify the original image, unless you have the optional jhead binary installed on your server. If you have jhead installed, enter the path below. Without it, NetPBM will still perform all of its normal functions, but you should always use the preserve original image option when rotating and scaling images"}
{g->text text="jhead Directory:"} {g->autoComplete element="giJheadPath"} {g->url arg1="view=core.SimpleCallback" arg2="command=lookupDirectories" arg3="prefix=__VALUE__" htmlEntities=false} {/g->autoComplete} {if isset($form.error.jheadPath.badPath)}| {g->text text="Binary Name"} | {g->text text="Pass/Fail"} |
|---|---|
| {$test.name} |
{if ($test.success)}
{g->text text="Passed"}
{else}
{g->text text="Failed"}
{if !empty($test.message)}
{g->text text="Error messages:"}
{foreach from=$test.message item=line} {$line}
{/foreach}
{/if}
{/if}
|
{g->text text="The NetPBM module can support files with the following MIME types:"}
{foreach from=$AdminNetPbm.mimeTypes item=mimeType}
{$mimeType}
{/foreach}
{g->text text="We gathered this debug output while testing your NetPBM binaries. If you read through this carefully you may discover the reason why your NetPBM binaries failed the tests."}