Recommended Links
Common For all pages
This section shows you how you can have editable content which is the same throughout the site ( NOTE: It is language specific ) .All the navs below are generated using snippets that are included with the framework, edit this content to see how it was generated
Sub Nav:
Main Nav:
Footer Nav:
Unique Per Page
GD
Provides functions for many Image Manipulations, Transformations and Filters
See the API documentation at: http://wideimage.sourceforge.net/
Example:
See the API documentation at: http://wideimage.sourceforge.net/
Example:
//This is a controller function
public function GD()
{
require_once '/libs/standalone/GD.php';
$gd = new GD();
$image = $gd->loadImage('temp/fantasy-3dart02.jpg');
$image2 = $gd->loadImage('temp/php.gif');
$mask = $gd->loadImage('temp/mask.jpg');
$newImage = $image->resize('50%', '50%', 'fill');
$newImage = $newImage->applyMask($mask, 50, 50);
$newImage = $newImage->merge($image2, 100, 100, 50);
$gd->writeTextToImage($newImage, 'Hi :)', 350, 250, '#ff0000', 20, 45, 40);
header('Content-Type: image/png');
echo $newImage->asString('png');
}