A handy-dandy resize, crop component to be used in controllers rather than view. First off, put the component in the appropriate folder: /controllers/components/p_image.php Download code <?php class PImageComponent extends Object { /* * PImageComponent: component to resize or crop images * @author: Wendy Perkins aka The Perkster * @website: http://www.perksterdesigns.