/**
  * Remove all thumbanil images generated by redSHOP
  *
  * @return  boolean
  */
 public function removeThumbImages()
 {
     $thumb_folder = array('product', 'category', 'manufacturer', 'product_attributes', 'property', 'subcolor', 'wrapper', 'shopperlogo');
     for ($i = 0; $i < count($thumb_folder); $i++) {
         $unlink_path = REDSHOP_FRONT_IMAGES_RELPATH . $thumb_folder[$i] . '/thumb';
         if (JFolder::exists($unlink_path)) {
             if (JFolder::delete($unlink_path) !== true) {
                 return false;
             } else {
                 if (JFolder::create($unlink_path) !== true) {
                     return false;
                 } else {
                     $src = REDSHOP_FRONT_IMAGES_RELPATH . 'index.html';
                     JFile::COPY($src, $unlink_path . '/index.html');
                 }
             }
         }
     }
     return true;
 }