maxSize(300, 100); // width, height $image->outputJpg(); ?>