CodeIgniter IMG – thumbnails on the fly

CodeIgniter IMG – thumbnails on the fly

CodeIgniter library to generate high quality thumbnails

Library is based on excellent * Smarty plugin “Thumb” * created in 2005 by Christoph Erdmann. This version is a little different, we are using core from Thumb, and some modification which gives more flexibility to work with it.

Features

  • thumbnails are generated “on the fly” no additional actions required,
  • cache for generated thumbnails,
  • clear structure for generated thumbnails,
  • thumbnails sharpening function,
  • cropping function,
  • fill space function

Usage

You need to upload file img.php into directory application/libraries. In controller, you need to load library:

Desktop Closure Compiler beta release

Desktop Closure Compiler beta release

The Closure Compiler is a tool for making JavaScript download and run faster. It is a true compiler for JavaScript. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what’s left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.

Google provides  Closure Compiler Service which is web application to compile JavaScript, you can also use Java application or REST API. For your convenience we created simple app to use Closure Compiler on your desktop.