public function create_thumbnail($image, $width)
{
- // if thumbnail already exists, don't recreate it
- if(file_exists(dirname($image) ."/thumbs/". $width ."_". basename($image)))
- return;
-
$meta = $this->get_meta_informations($image);
$rotate = 0;