020 555 1111
  • Old fashion, modular, procedural PHP plus some scaffolding techniques to allow it to mimic MVC simplicity.
  • A quick reference to help you find in PHP maze what needs to be done and how to do it.
  • Learn a PHP Object Oriented Programming by building a live discussion forum application.
  • MVC - Model View Controller - real life, easy reference and application.
This product has options, take a look at them and select ones you like the most.
Options are displayed under image section.

PHP thumbnail creator class by EasyPhpThumbnail (tweaked)
[PHP example]

PHP thumbnail creator class by EasyPhpThumbnail

 

I have created this page since I have made some changes to class base code.

These changes (very small indeed) allow thumbnailer to auto-switch to default "no image" image.

 

Please find orginal here: http://www.mywebmymail.com/?q=content/easyphpthumbnail-class

Also link above shows how this thumbnailer is used.

 

change in the way thumbnail is created

// just filename (no path to it), e.g. image.png
// just absolute path, e.g. path/to/file (Linux), C:pat\to\file (Win)
// destination: file, or screen
$thumb -> Createthumb(filename, absolute_path, destination);

 

changes are limited to mthod Createthumb() only - this does affect deployment thou - see: above

for comparison, you may download modified version here

 

usage

//thumb.php file
require_once("resources/paths.php"); //helps with filepaths
include_once('Thumbnail.php');

 // Create the thumbnail
 $thumb = new Thumbnail;
 $thumb -> Thumbsize = 213;
 $thumb -> Createthumb(basename($_REQUEST['thumb']),IMAGE_FILEPATH);

 

deployment

echo "<img src='/thumb.php?thumb=$file' alt='thumb' />";

 

priv: pdf backup version of this thumbnail project is in media folder