Create code.inc.php
Create code.inc.php

This is the file that does all of the image resizing/creating/ modifying.  This file should be included at the top of the php page such as with index.php, in this example case.
nibbcnoble/php-thumbnail-maker