ImageTools

User Documentation: General

On this Page: Image Path | Formats

Image Path

The following paths below are the options you have in pointing to your image file.

Type Value Description
Server Path "/path/to/image.jpg" The path to the image file based on the location in the server. (Prefixed with configuration path.)
Local Path "image.jpg" or "path/to/image.jpg" The path to the image file based on the current used local directory.

Formats

The simplest way on figuring out what format would be best for Web use is the one that would be the least in file size. For example, you may have a digital photo which would be much larger as a GIF as opposed to JPG, or an icon that would be much larger in JPG as opposed to GIF. The same method may also be applied to the PNG format. BMP, however, is not Web-friendly and should only be used if the image is intended to be shared as a BMP image for personal use, or any other special matter.

Value Description File Extensions MIME Type Developer
jpg JPEG (Joint Photographic Experts Group) Mostly used for compression of high quality images, such as digital photos. .jpg, .jpeg, .jpe, .jfif, .jfi image/jpeg JPEG
gif (Graphics Interchange Format) Mostly used for compression of low quality images, such as icons, logos, and Web designs, and features transparency (binary only), and animation. .gif image/gif CompuServe
png (Portable Network Graphics) Mostly used for lossless compression of high quality images and features alpha transparency (PNG-24). .png image/png W3C
bmp (Microsoft Windows Bitmap) Mostly used for uncompressed images, however, not Web-friendly. .bmp image/bmp Microsoft