The image module is an optional module that performs special processing on JPG files when uploaded via the studio. As well as saving the file and making it available as an element to be added to future web pages, this module also does the following:

Image Resize

Most photos taken with modern cameras or smartphones are too big to be quickly downloaded within a page. The size is due to the huge quality of these digital photos taken with 20+ megapixel cameras. When building a website, there are other considations such as the time taken to load a page and the bandwidth required to do it.

In order to ensure the triki renderded web pages load in a reasonable time this module will automatically resize the image to be 1000 pixels wide. This gives enough resolution for a standard screen and plenty resolution for mobile phones. The proportions of the image are retained so there is no squashing of perspective.

The resizing happens in realtime as the image is uploaded, so if uploading 20 pictures at once for example, this may take a few seconds to resize.

EXIF indexing

All photos saved in the JPG format contain embedded data about the photo. This can be everything from the aperture of the lens to the GPS co-ordinates of the device when the photo was taken.

triki will parse the EXIF data at upload and automatically use this to create a dc:created property for the the image. This ensure that photos can be ordered into time of capture, which is often a very useful feature on a web page. In addition images can be grouped automatically on a timeline, to allow your content to be explored by year, then month etc.

Thumbnail generation

The final feature of this module is that as well as resizing, it will automatically create a thumbnail image of the larger image. This node will be linked to the image node, such that it can be displayed and easily linked to the actual full picture.