glFusion Wiki

Site Tools


glfusion:configuration:images

Images

Image Library

Image Library
Set this to either 'imagemagick', 'netpbm', or 'gdlib' if images should be resized during upload.
Path to ImageMagick
If you chose 'imagemagick' for the Image Library above, then this should hold the full path to the convert executable (from the ImageMagick package), e.g. '/usr/bin/'. You will need a fairly recent version of ImageMagick for this to work (version 5.4.9 or newer is recommended).
Path to Netpbm
If you chose 'netpbm' for Image Library above, then this should hold the complete path to the directory where the binaries from the netpbm package are kept, e.g. '/usr/bin/netpbm/'. Note that the path must end in a slash. Precompiled binaries of the netpbm package for various platforms can be downloaded from the Homepage of the Gallery project.
Enable JHEAD
JHEAD is a command line utility that will save the EXIF/IPTC data in your images. By enabling JHEAD support, glFusion will be able to save all the EXIF/IPTC data even if it has to resize the original image, or remove the original image (EXIF/IPTC data will be saved in the display image).
Path to jhead executable
This is the absolute path on your server where the jhead binary on your server.
Enable jpegtrans
JPEGTRANS is a lossless tool for manipulating JPG images. It will allow for images to be rotated on line without loosing any quality.
Path to jpegtrans executable
This is the absolute path on your server where the jpegtrans binary on your server

Upload


Keep Unscaled Image
Set this to True if you want glFusion to keep the original, unscaled images after upload. The smaller image will then be used as a thumbnail and will link to the original image. Note that this may use a lot of disk space (depending on the size of your images).
Allow User Scaling
When unscaled images are kept (see above), this option lets the user chose between using the scaled or unscaled image in the story, i.e. enables the [unscaledX] image tag (in addition to the [imageX] tag).
JPEG Quality Factor
When images are resized, this setting controls the quality of the resized image. A lower percentage value here will result in a smaller file size, but also lower quality. Generally 80% provides a good balance between file size and quality.
Debug Image Uploading
When not commented out(!) and set to true, this option enables debugging output to be written into glFusion's error.log file during the upload of an image. This is useful to track down problems with the image upload.

Images in Articles


Max. Image Width
Maximum width of an image in pixels. If it exceeds this, it is either rejected or resized (depending on the setting of Image Library above).
Max. Image Height
Maximum height of an image in pixels. If it exceeds this, it is either rejected or resized (depending on the setting of Image Library above).
Max. Image Size
Maximum size of an image in bytes. If it exceeds this, it is is rejected (even if you're using a graphics package to resize images).

Topic Icons


Max Topic Icon Width
Maximum width of a topic icon in pixels. If it exceeds this, it is either rejected or resized (depending on the setting of Image Library above).
Max topic Icon Height
Maximum height of a topic icon in pixels. If it exceeds this, it is either rejected or resized (depending on the setting of Image Library above).
Max Topic Icon Size
Maximum size of a topic icon in bytes. If it exceeds this, it is rejected (even if you're using a graphics package to resize images).

Photos


Max Photo Width
Maximum width of a user photo in pixels. If it exceeds this, it is either rejected or resized (depending on the setting of Image Library above).
Max Photo Height
Maximum height of a user photo in pixels. If it exceeds this, it is either rejected or resized (depending on the setting of Image Library above).
Max Photo Size
Maximum size of a user photo in bytes. If it exceeds this, it is rejected (even if you're using a graphics package to resize images).
Force Photo Width
This option, when enabled, will only apply when displaying a user photo. The <img> tag for the user photo will be emitted with a max. width, as specified by this option. This means that the actual photo can still be larger, but will only be displayed smaller. This is useful for cases where you don't want oddly shaped user photos to break your page's layout (i.e. in a forum).
Default Photo
When enabled, this option should point to an image (full URL required!) that should be displayed for users without a user photo. When this option is not set and a user does not have a user photo (or an avatar) then glFusion will simply not display anything.

Gravatar


Use Gravatar
If enabled (set to true), a user's avatar image will be requested from gravatar.com if the user didn't upload a user photo (i.e. an uploaded photo always takes priority). Please note that this option may slow down your site on pages that display a lot of userphotos for different users (i.e. forum threads).
Gravatar Rating Allowed
Avatars submitted to gravatar.com are rated with the rating system used for movies (i.e in the U.S.A the letters G, PG, R, or X). This option will let you chose the maximum allowed rating for an avatar. For example, a max. rating of R will make sure that no X-rated avatars will be displayed on your site (only G, PG, and R).

Logo Options


By default, glFusion ships with a text based site logo (based on your site name and slogan settings) in the header. One of the first things you will probably want to do is replace this logo with one specific to your site. The logo editor at Logo Management gives you an easy and convenient method to upload a new logo. For best results, the outer dimensions of the logo should be 100 pixels tall and up to 500 pixels wide (when using the default CMS theme).

Your web server needs to be able to write to the public_html/images directory in order to upload logo files.

Max logo height
This is the maximum height allowed to be uploaded.
Max logo width
This is the maximum width allowed to be uploaded.
glfusion/configuration/images.txt · Last modified: 2017/04/12 21:11 (external edit)

Page Tools