News

Installation

The makefile is very weak at the moment. As long as you have APXS installed, the build process should be a snap:

Simple Explanation

The way this module works is very simple. From a high-level, when you request an image through the module, the following happens:

Configuration Example

LoadModule gfx_module modules/mod_gfx.so <Location /> SetHandler gfx </Location> GfxOriginMatch myorigin ^/regex/path/to/file.jpg$ <GfxOrigin "myorigin"> GfxOriginHost server1.backend.com GfxOriginHost server2.backend.com GfxOriginHost server3.backend.com </GfxOrigin> <GfxProfile "lowqual60x60"> GfxAction resize GfxRsX 60 GfxRsY 60 GfxQual 50 </GfxProfile> <GfxProfile "highqual640x480"> GfxAction resample GfxRsX 640 GfxRsY 480 GfxQual 95 </GfxProfile> <GfxProfile "forcePNG"> GfxAction noop GfxOutputFormat PNG </GfxProfile> <GfxProfile "watermark"> GfxAction watermark GfxWatermark /var/content/company_logo.png </GfxProfile>