create(1); if (file_exists($thumbnail->getPath())) { Image::showImage($thumbnail->getPath()); } else { $image = new Image(); $image->setSource($src); $image->thumb($mode, $width, $height); $image->showDest(); } ?>