Ticket #1001: mini_images.patch

File mini_images.patch, 45.5 KB (added by Torsten Riemer, 8 years ago)
  • _installer/includes/check_permissions.php

     
    6565          'images/icons',
    6666          'images/manufacturers',
    6767          'images/product_images/info_images',
     68          'images/product_images/mini_images',
    6869          'images/product_images/original_images',
    6970          'images/product_images/popup_images',
    7071          'images/product_images/thumbnail_images',
  • _installer/includes/sql/modified.sql

     
    14181418# configuration_group_id 4, Images Options
    14191419INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'CONFIG_CALCULATE_IMAGE_SIZE', 'true', 4, 1, NULL, NOW(), NULL, 'xtc_cfg_select_option(array(\'true\', \'false\'),');
    14201420INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'IMAGE_QUALITY', '100', 4, 2, NULL, NOW(), NULL, NULL);
     1421INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_MINI_WIDTH', '120', 4, 5, NULL, NOW(), NULL, NULL);
     1422INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_MINI_HEIGHT', '120', 4, 6, NULL, NOW(), NULL, NULL);
    14211423INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_THUMBNAIL_WIDTH', '160', 4, 7, NULL, NOW(), NULL, NULL);
    14221424INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_THUMBNAIL_HEIGHT', '160', 4, 8, NULL, NOW(), NULL, NULL);
    14231425INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_INFO_WIDTH', '230', 4, 9, NULL, NOW(), NULL, NULL);
     
    14241426INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_INFO_HEIGHT', '230', 4, 10, NULL, NOW(), NULL, NULL);
    14251427INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_POPUP_WIDTH', '800', 4, 11, NULL, NOW(), NULL, NULL);
    14261428INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_POPUP_HEIGHT', '800', 4, 12, NULL, NOW(), NULL, NULL);
     1429INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_MINI_MERGE', '', 4, 16, NULL, NOW(), NULL, NULL);
    14271430INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_THUMBNAIL_MERGE', '', 4, 17, NULL, NOW(), NULL, NULL);
    14281431INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_INFO_MERGE', '', 4, 25, NULL, NOW(), NULL, NULL);
    14291432INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_POPUP_MERGE', '', 4, 33, NULL, NOW(), NULL, NULL);
    14301433INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'MO_PICS', '3', '4', '3', NULL, NOW(), NULL, NULL);
    1431 INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'IMAGE_MANIPULATOR', 'image_manipulator_GD2_advanced.php', '4', '3', NULL, NOW(), NULL, 'xtc_cfg_select_option(array(\'image_manipulator_GD2.php\', \'image_manipulator_GD2_advanced.php\', \'image_manipulator_GD1.php\'),');
    1432 INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_NO_ENLARGE_UNDER_DEFAULT', 'false', 4, 6, NULL, NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''), ');
    1433 INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_SHOW_NO_IMAGE', 'false', 4, 6, NULL, NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''), ');
    1434 INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'CATEGORIES_IMAGE_SHOW_NO_IMAGE', 'true', 4, 6, NULL, NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''), ');
    1435 INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'MANUFACTURER_IMAGE_SHOW_NO_IMAGE', 'false', 4, 6, NULL, NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''), ');
     1434INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'IMAGE_MANIPULATOR', 'image_manipulator_GD2_advanced.php', 4, 3, NULL, NOW(), NULL, 'xtc_cfg_select_option(array(\'image_manipulator_GD2.php\', \'image_manipulator_GD2_advanced.php\', \'image_manipulator_GD1.php\'),');
     1435INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_NO_ENLARGE_UNDER_DEFAULT', 'false', 4, 4, NULL, NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''), ');
     1436INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'PRODUCT_IMAGE_SHOW_NO_IMAGE', 'false', 4, 4, NULL, NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''), ');
     1437INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'CATEGORIES_IMAGE_SHOW_NO_IMAGE', 'true', 4, 4, NULL, NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''), ');
     1438INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'MANUFACTURER_IMAGE_SHOW_NO_IMAGE', 'false', 4, 4, NULL, NOW(), NULL, 'xtc_cfg_select_option(array(''true'', ''false''), ');
    14361439
    14371440# configuration_group_id 5, Customer Details
    14381441INSERT INTO configuration (configuration_id, configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'ACCOUNT_GENDER', 'true', 5, 10, NULL, NOW(), NULL, 'xtc_cfg_select_option(array(\'true\', \'false\'),');
  • admin/includes/classes/categories.php

     
    786786     
    787787      @ copy(DIR_FS_CATALOG_ORIGINAL_IMAGES.'/'.$product['products_image'], DIR_FS_CATALOG_ORIGINAL_IMAGES.'/'.$dup_products_image_name);
    788788      @ copy(DIR_FS_CATALOG_INFO_IMAGES.'/'.$product['products_image'], DIR_FS_CATALOG_INFO_IMAGES.'/'.$dup_products_image_name);
     789      @ copy(DIR_FS_CATALOG_MINI_IMAGES.'/'.$product['products_image'], DIR_FS_CATALOG_MINI_IMAGES.'/'.$dup_products_image_name);
    789790      @ copy(DIR_FS_CATALOG_THUMBNAIL_IMAGES.'/'.$product['products_image'], DIR_FS_CATALOG_THUMBNAIL_IMAGES.'/'.$dup_products_image_name);
    790791      @ copy(DIR_FS_CATALOG_POPUP_IMAGES.'/'.$product['products_image'], DIR_FS_CATALOG_POPUP_IMAGES.'/'.$dup_products_image_name);
    791792      $this->set_products_images_file_rights($dup_products_image_name);
     
    827828        //copy org images to duplicate
    828829        @ copy(DIR_FS_CATALOG_ORIGINAL_IMAGES.'/'.$mo_img['image_name'], DIR_FS_CATALOG_ORIGINAL_IMAGES.'/'.$dup_products_image_name);
    829830        @ copy(DIR_FS_CATALOG_INFO_IMAGES.'/'.$mo_img['image_name'], DIR_FS_CATALOG_INFO_IMAGES.'/'.$dup_products_image_name);
     831        @ copy(DIR_FS_CATALOG_MINI_IMAGES.'/'.$mo_img['image_name'], DIR_FS_CATALOG_MINI_IMAGES.'/'.$dup_products_image_name);
    830832        @ copy(DIR_FS_CATALOG_THUMBNAIL_IMAGES.'/'.$mo_img['image_name'], DIR_FS_CATALOG_THUMBNAIL_IMAGES.'/'.$dup_products_image_name);
    831833        @ copy(DIR_FS_CATALOG_POPUP_IMAGES.'/'.$mo_img['image_name'], DIR_FS_CATALOG_POPUP_IMAGES.'/'.$dup_products_image_name);
    832834        $this->set_products_images_file_rights($dup_products_image_name);
     
    11301132  function set_products_images_file_rights($image_name) {
    11311133    if ($image_name != '') {
    11321134      @ chmod(DIR_FS_CATALOG_INFO_IMAGES.$image_name, 0644);
     1135      @ chmod(DIR_FS_CATALOG_MINI_IMAGES.$image_name, 0644);
    11331136      @ chmod(DIR_FS_CATALOG_THUMBNAIL_IMAGES.$image_name, 0644);
    11341137      @ chmod(DIR_FS_CATALOG_POPUP_IMAGES.$image_name, 0644);
    11351138    }
     
    12921295
    12931296
    12941297  function image_process($products_image_name, $products_image_name_process) {
     1298    require(DIR_WS_INCLUDES . 'product_mini_images.php');
    12951299    require(DIR_WS_INCLUDES . 'product_thumbnail_images.php');
    12961300    require(DIR_WS_INCLUDES . 'product_info_images.php');
    12971301    require(DIR_WS_INCLUDES . 'product_popup_images.php');
  • admin/includes/configuration_installer.php

     
    8787  $values[] = "(NULL, 'MAX_DISPLAY_BESTSELLERS_DAYS', '100', '3', '15', NULL, NOW(), NULL, NULL);";
    8888
    8989//configuration_group_id 4 --- "Bild Optionen"
    90   $values[] = "(NULL, 'PRODUCT_IMAGE_NO_ENLARGE_UNDER_DEFAULT', 'false', '4', '6', NULL, NOW(), NULL, 'xtc_cfg_select_option(array(\'true\', \'false\'), ');";
    91   $values[] = "(NULL, 'PRODUCT_IMAGE_SHOW_NO_IMAGE', 'false', '4', '6', NULL, NOW(), NULL, 'xtc_cfg_select_option(array(\'true\', \'false\'), ');";
    92   $values[] = "(NULL, 'CATEGORIES_IMAGE_SHOW_NO_IMAGE', 'true', '4', '6', NULL, NOW(), NULL, 'xtc_cfg_select_option(array(\'true\', \'false\'), ');";
    93   $values[] = "(NULL, 'MANUFACTURER_IMAGE_SHOW_NO_IMAGE', 'false', '4', '6', NULL, NOW(), NULL, 'xtc_cfg_select_option(array(\'true\', \'false\'), ');";
     90  $values[] = "(NULL, 'PRODUCT_IMAGE_NO_ENLARGE_UNDER_DEFAULT', 'false', '4', '4', NULL, NOW(), NULL, 'xtc_cfg_select_option(array(\'true\', \'false\'), ');";
     91  $values[] = "(NULL, 'PRODUCT_IMAGE_SHOW_NO_IMAGE', 'false', '4', '4', NULL, NOW(), NULL, 'xtc_cfg_select_option(array(\'true\', \'false\'), ');";
     92  $values[] = "(NULL, 'CATEGORIES_IMAGE_SHOW_NO_IMAGE', 'true', '4', '4', NULL, NOW(), NULL, 'xtc_cfg_select_option(array(\'true\', \'false\'), ');";
     93  $values[] = "(NULL, 'MANUFACTURER_IMAGE_SHOW_NO_IMAGE', 'false', '4', '4', NULL, NOW(), NULL, 'xtc_cfg_select_option(array(\'true\', \'false\'), ');";
     94  $values[] = "(NULL, 'PRODUCT_IMAGE_MINI_WIDTH', '4', '5', '120', NULL, NOW(), NULL, NULL);";
     95  $values[] = "(NULL, 'PRODUCT_IMAGE_MINI_HEIGHT', '4', '6', '120', NULL, NOW(), NULL, NULL);";
     96  $values[] = "(NULL, 'PRODUCT_IMAGE_MINI_MERGE', '4', '16', '', NULL, NOW(), NULL, NULL);";
    9497
     98
     99  $values_update[] = array (
     100                           'values' => " sort_order = '4'",
     101                           'configuration_key' => 'PRODUCT_IMAGE_NO_ENLARGE_UNDER_DEFAULT'
     102                           );
     103
     104  $values_update[] = array (
     105                           'values' => " sort_order = '4'",
     106                           'configuration_key' => 'PRODUCT_IMAGE_SHOW_NO_IMAGE'
     107                           );
     108
     109  $values_update[] = array (
     110                           'values' => " sort_order = '4'",
     111                           'configuration_key' => 'CATEGORIES_IMAGE_SHOW_NO_IMAGE'
     112                           );
     113
     114  $values_update[] = array (
     115                           'values' => " sort_order = '4'",
     116                           'configuration_key' => 'MANUFACTURER_IMAGE_SHOW_NO_IMAGE'
     117                           );
     118
    95119//configuration_group_id 5 --- "Kundendetails"
    96120  $values[] = "(NULL, 'ACCOUNT_TELEPHONE_OPTIONAL', 'false', '5', '70', NULL, NOW(), NULL, 'xtc_cfg_select_option(array(\'true\', \'false\'), ');";
    97121  $values[] = "(NULL, 'GUEST_ACCOUNT_EDIT', 'false', '5', '120', NULL, NOW(), NULL, 'xtc_cfg_select_option(array(\'true\', \'false\'), ');";
  • admin/includes/file_permissions.php

     
    4949  DIR_FS_CATALOG.'images/categories',
    5050  DIR_FS_CATALOG.'images/content',
    5151  DIR_FS_CATALOG.'images/product_images/info_images',
     52  DIR_FS_CATALOG.'images/product_images/mini_images',
    5253  DIR_FS_CATALOG.'images/product_images/original_images',
    5354  DIR_FS_CATALOG.'images/product_images/popup_images',
    5455  DIR_FS_CATALOG.'images/product_images/thumbnail_images',
  • admin/includes/functions/general.php

     
    13061306    if (is_file(DIR_FS_CATALOG_POPUP_IMAGES.$image)) {
    13071307      @ unlink(DIR_FS_CATALOG_POPUP_IMAGES.$image);
    13081308    }
     1309    if (is_file(DIR_FS_CATALOG_MINI_IMAGES.$image)) {
     1310      @ unlink(DIR_FS_CATALOG_MINI_IMAGES.$image);
     1311    }
    13091312    if (is_file(DIR_FS_CATALOG_ORIGINAL_IMAGES.$image)) {
    13101313      @ unlink(DIR_FS_CATALOG_ORIGINAL_IMAGES.$image);
    13111314    }
  • admin/includes/modules/system/image_processing_step.php

     
    117117
    118118        if ($_POST['only_missing_images'] == 1) {
    119119          $flag = false;
     120          if (!is_file(DIR_FS_CATALOG_MINI_IMAGES.products_image_name_process)) {
     121            require(DIR_WS_INCLUDES . 'product_mini_images.php'); $flag = true;
     122          }
    120123          if (!is_file(DIR_FS_CATALOG_THUMBNAIL_IMAGES.$products_image_name_process)) {
    121124            require(DIR_WS_INCLUDES . 'product_thumbnail_images.php'); $flag = true;
    122125          }
     
    133136            } 
    134137          }
    135138        } else {
     139          require(DIR_WS_INCLUDES . 'product_mini_images.php');
    136140          require(DIR_WS_INCLUDES . 'product_thumbnail_images.php');
    137141          require(DIR_WS_INCLUDES . 'product_info_images.php');
    138142          require(DIR_WS_INCLUDES . 'product_popup_images.php');
  • admin/includes/paths.php

     
    2525  define('DIR_WS_IMAGES', 'images/');
    2626  define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    2727  define('DIR_FS_CATALOG_ORIGINAL_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/original_images/');
     28  define('DIR_FS_CATALOG_MINI_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/mini_images/');
    2829  define('DIR_FS_CATALOG_THUMBNAIL_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/thumbnail_images/');
    2930  define('DIR_FS_CATALOG_INFO_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/info_images/');
    3031  define('DIR_FS_CATALOG_POPUP_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/popup_images/');
     
    3233  define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
    3334  define('DIR_WS_CATALOG_ORIGINAL_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/original_images/');
    3435  define('DIR_WS_CATALOG_THUMBNAIL_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/thumbnail_images/');
     36  define('DIR_WS_CATALOG_MINI_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/mini_images/');
    3537  define('DIR_WS_CATALOG_INFO_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/info_images/');
    3638  define('DIR_WS_CATALOG_POPUP_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/popup_images/');
    3739 
  • admin/includes/product_mini_images.php

     
     1<?php
     2/* --------------------------------------------------------------
     3   $Id: product_mini_images.php 899 2005-04-29 02:40:57Z hhgag $
     4
     5   XT-Commerce - community made shopping
     6   http://www.xt-commerce.com
     7
     8   Copyright (c) 2003 XT-Commerce
     9   --------------------------------------------------------------
     10
     11   Released under the GNU General Public License
     12   --------------------------------------------------------------*/
     13
     14defined( '_VALID_XTC' ) or die( 'Direct Access to this location is not allowed.' );
     15
     16if (!isset($products_image_name_process)) {
     17  $products_image_name_process = $products_image_name;
     18}
     19
     20$a = new image_manipulation(DIR_FS_CATALOG_ORIGINAL_IMAGES . $products_image_name,PRODUCT_IMAGE_MINI_WIDTH,PRODUCT_IMAGE_MINI_HEIGHT,DIR_FS_CATALOG_MINI_IMAGES . $products_image_name_process,IMAGE_QUALITY,'');
     21
     22if (PRODUCT_IMAGE_MINI_MERGE != '') {
     23  $string=str_replace("'",'',PRODUCT_IMAGE_MINI_MERGE);
     24  $string=str_replace(')','',$string);
     25  $string=str_replace('(',DIR_FS_CATALOG_IMAGES,$string);
     26  $array=explode(',',$string);
     27  $a->merge($array[0],$array[1],$array[2],$array[3],$array[4]);
     28}
     29
     30$a->create();
     31
     32unset($products_image_name_process);
     33?>
     34 No newline at end of file
  • admin/removeoldpics.php

     
    5656      case 'popup' :
    5757        $path = DIR_FS_CATALOG_POPUP_IMAGES;
    5858        break;
     59      case 'mini' :
     60        $path = DIR_FS_CATALOG_MINI_IMAGES;
     61        break;
    5962    }
    6063
    6164    $flag_delete = false;
     
    104107          echo '<a class="button" href="'.xtc_href_link('removeoldpics.php', 'action=delete&path=original').'">'.LINK_ORIGINAL.'</a>';
    105108          echo '<a class="button" href="'.xtc_href_link('removeoldpics.php', 'action=delete&path=info').'">'.LINK_INFO.'</a>';
    106109          echo '<a class="button" href="'.xtc_href_link('removeoldpics.php', 'action=delete&path=thumbnail').'">'.LINK_THUMBNAIL.'</a>';
     110          echo '<a class="button" href="'.xtc_href_link('removeoldpics.php', 'action=delete&path=mini').'">'.LINK_MINI.'</a>';
    107111          echo '<a class="button" href="'.xtc_href_link('removeoldpics.php', 'action=delete&path=popup').'">'.LINK_POPUP.'</a>';
    108112        ?>
    109113        </div>
  • export/cao_xtc_functions.php

     
    12811281        define('DIR_FS_CATALOG_ORIGINAL_IMAGES',DIR_FS_CATALOG.DIR_WS_ORIGINAL_IMAGES);
    12821282        define('DIR_FS_CATALOG_INFO_IMAGES',DIR_FS_CATALOG.DIR_WS_INFO_IMAGES);
    12831283        define('DIR_FS_CATALOG_POPUP_IMAGES',DIR_FS_CATALOG.DIR_WS_POPUP_IMAGES);
     1284        define('DIR_FS_CATALOG_MINI_IMAGES',DIR_FS_CATALOG.DIR_WS_MINI_IMAGES);
    12841285        define('DIR_FS_CATALOG_THUMBNAIL_IMAGES',DIR_FS_CATALOG.DIR_WS_THUMBNAIL_IMAGES);
    12851286        define('DIR_FS_CATALOG_IMAGES',DIR_FS_CATALOG.DIR_WS_IMAGES);
    12861287
     
    12971298          if (is_file(DIR_FS_CATALOG_ORIGINAL_IMAGES.$product_image['products_image'])) {
    12981299            @ unlink(DIR_FS_CATALOG_ORIGINAL_IMAGES.$product_image['products_image']);
    12991300          }
     1301          if (is_file(DIR_FS_CATALOG_MINI_IMAGES.$product_image['products_image'])) {
     1302            @ unlink(DIR_FS_CATALOG_MINI_IMAGES.$product_image['products_image']);
     1303          }
    13001304          if (is_file(DIR_FS_CATALOG_THUMBNAIL_IMAGES.$product_image['products_image'])) {
    13011305            @ unlink(DIR_FS_CATALOG_THUMBNAIL_IMAGES.$product_image['products_image']);
    13021306          }
     
    13211325            if (is_file(DIR_FS_CATALOG_ORIGINAL_IMAGES.$mo_images_values['image_name'])) {
    13221326              @ unlink(DIR_FS_CATALOG_ORIGINAL_IMAGES.$mo_images_values['image_name']);
    13231327            }
     1328            if (is_file(DIR_FS_CATALOG_MINI_IMAGES.$mo_images_values['image_name'])) {
     1329              @ unlink(DIR_FS_CATALOG_MINI_IMAGES.$mo_images_values['image_name']);
     1330            }
    13241331            if (is_file(DIR_FS_CATALOG_THUMBNAIL_IMAGES.$mo_images_values['image_name'])) {
    13251332              @ unlink(DIR_FS_CATALOG_THUMBNAIL_IMAGES.$mo_images_values['image_name']);
    13261333            }
     
    14171424    define('DIR_FS_CATALOG_ORIGINAL_IMAGES',DIR_FS_CATALOG.DIR_WS_ORIGINAL_IMAGES);
    14181425    define('DIR_FS_CATALOG_INFO_IMAGES',DIR_FS_CATALOG.DIR_WS_INFO_IMAGES);
    14191426    define('DIR_FS_CATALOG_POPUP_IMAGES',DIR_FS_CATALOG.DIR_WS_POPUP_IMAGES);
     1427    define('DIR_FS_CATALOG_MINI_IMAGES',DIR_FS_CATALOG.DIR_WS_MINI_IMAGES);
    14201428    define('DIR_FS_CATALOG_THUMBNAIL_IMAGES',DIR_FS_CATALOG.DIR_WS_THUMBNAIL_IMAGES);
    14211429    define('DIR_FS_CATALOG_IMAGES',DIR_FS_CATALOG.DIR_WS_IMAGES);
    14221430
     
    14241432    require(DIR_FS_DOCUMENT_ROOT.(defined('DIR_ADMIN') ? DIR_ADMIN : 'admin/').'includes/product_thumbnail_images.php');
    14251433    require(DIR_FS_DOCUMENT_ROOT.(defined('DIR_ADMIN') ? DIR_ADMIN : 'admin/').'includes/product_info_images.php');
    14261434    require(DIR_FS_DOCUMENT_ROOT.(defined('DIR_ADMIN') ? DIR_ADMIN : 'admin/').'includes/product_popup_images.php');
     1435    require(DIR_FS_DOCUMENT_ROOT.(defined('DIR_ADMIN') ? DIR_ADMIN : 'admin/').'includes/product_mini_images.php');
    14271436
    14281437    $code = 0;
    14291438    $message = 'OK';
     
    14581467  define('DIR_FS_CATALOG_ORIGINAL_IMAGES',DIR_FS_CATALOG.DIR_WS_ORIGINAL_IMAGES);
    14591468  define('DIR_FS_CATALOG_INFO_IMAGES',DIR_FS_CATALOG.DIR_WS_INFO_IMAGES);
    14601469  define('DIR_FS_CATALOG_POPUP_IMAGES',DIR_FS_CATALOG.DIR_WS_POPUP_IMAGES);
     1470  define('DIR_FS_CATALOG_MINI_IMAGES',DIR_FS_CATALOG.DIR_WS_MINI_IMAGES);
    14611471  define('DIR_FS_CATALOG_THUMBNAIL_IMAGES',DIR_FS_CATALOG.DIR_WS_THUMBNAIL_IMAGES);
    14621472  define('DIR_FS_CATALOG_IMAGES',DIR_FS_CATALOG.DIR_WS_IMAGES);
    14631473
     
    14701480      require(DIR_FS_DOCUMENT_ROOT.(defined('DIR_ADMIN') ? DIR_ADMIN : 'admin/').'includes/product_info_images.php');
    14711481    }
    14721482
     1483    if (!file_exists (DIR_FS_CATALOG_MINI_IMAGES . $FileName))
     1484    {
     1485      require(DIR_FS_DOCUMENT_ROOT.(defined('DIR_ADMIN') ? DIR_ADMIN : 'admin/').'includes/product_mini_images.php');
     1486    }
     1487
    14731488    if (!file_exists (DIR_FS_CATALOG_THUMBNAIL_IMAGES . $FileName))
    14741489    {
    14751490      require(DIR_FS_DOCUMENT_ROOT.(defined('DIR_ADMIN') ? DIR_ADMIN : 'admin/').'includes/product_thumbnail_images.php');
  • images/product_images/mini_images/index.html

     
     1
  • images/product_images/mini_images/noimage.gif

    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
  • images/product_images/mini_images/index.html

    Property changes on: images/product_images/mini_images/noimage.gif
    ___________________________________________________________________
    Added: svn:mime-type
    ## -0,0 +1 ##
    +application/octet-stream
    \ No newline at end of property
     
     1
  • images/product_images/mini_images/noimage.gif

    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
  • includes/classes/product.php

    Property changes on: images/product_images/mini_images/noimage.gif
    ___________________________________________________________________
    Added: svn:mime-type
    ## -0,0 +1 ##
    +application/octet-stream
    \ No newline at end of property
     
    591591      case 'info' :
    592592        $path = DIR_WS_INFO_IMAGES;
    593593        break;
     594      case 'mini' :
     595        $path = DIR_WS_MINI_IMAGES;
     596        break;
    594597      case 'thumbnail' :
    595598        $path = DIR_WS_THUMBNAIL_IMAGES;
    596599        break;
  • includes/paths.php

     
    1414  define('DIR_WS_IMAGES', 'images/');
    1515  define('DIR_WS_ORIGINAL_IMAGES', DIR_WS_IMAGES .'product_images/original_images/');
    1616  define('DIR_WS_THUMBNAIL_IMAGES', DIR_WS_IMAGES .'product_images/thumbnail_images/');
     17  define('DIR_WS_MINI_IMAGES', DIR_WS_IMAGES .'product_images/mini_images/');
    1718  define('DIR_WS_INFO_IMAGES', DIR_WS_IMAGES .'product_images/info_images/');
    1819  define('DIR_WS_POPUP_IMAGES', DIR_WS_IMAGES .'product_images/popup_images/');
    1920  define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  • lang/english/admin/configuration.php

     
    163163define('MAX_DISPLAY_NEW_PRODUCTS_DAYS_TITLE' , 'Maximum Age (days) for New Products');
    164164define('MAX_DISPLAY_NEW_PRODUCTS_DAYS_DESC' , 'Maximum age (in days) for products to be displayed as "new products"');
    165165
     166define('PRODUCT_IMAGE_MINI_WIDTH_TITLE' , 'Width of Product Mini Images');
     167define('PRODUCT_IMAGE_MINI_WIDTH_DESC' , 'Maximum width of product mini images (in pixels) (Standard: 120). For larger values possibly "productPreviewImage" is adjusted in the templates stylesheet.css file.');
     168define('PRODUCT_IMAGE_MINI_HEIGHT_TITLE' , 'Height of Product Mini Images');
     169define('PRODUCT_IMAGE_MINI_HEIGHT_DESC' , 'Maximum height of product mini images (in pixels) (Standard: 120).');
     170
    166171define('PRODUCT_IMAGE_THUMBNAIL_WIDTH_TITLE' , 'Width of Product Thumbnails');
    167172define('PRODUCT_IMAGE_THUMBNAIL_WIDTH_DESC' , 'Maximum width of product thumbnails (in pixels) (Standard: 160). For larger values possibly "productPreviewImage" is adjusted in the templates stylesheet.css file.');
    168173define('PRODUCT_IMAGE_THUMBNAIL_HEIGHT_TITLE' , 'Height of Product Thumbnails');
     
    197202define('MO_PICS_TITLE','Number of product images');
    198203define('MO_PICS_DESC','if this number is set > 0 , you will be able to upload/display more images per product');
    199204
     205//Mini Images
     206define('PRODUCT_IMAGE_MINI_BEVEL_TITLE' , 'Product Mini Images:Bevel');
     207define('PRODUCT_IMAGE_MINI_BEVEL_DESC' , 'Product Mini Images:Bevel<br /><br />Default-values: (8,FFCCCC,330000)<br /><br />shaded bevelled edges<br />Usage:<br />(edge width, hex light colour, hex dark colour)');
     208
    200209//This is for the Images showing your products for preview. All the small stuff.
    201210
    202211define('PRODUCT_IMAGE_THUMBNAIL_BEVEL_TITLE' , 'Product Thumbnails:Bevel<br /><img src="images/config_bevel.gif">');
     
    225234
    226235//And this is for the Images showing your products in single-view
    227236
    228 define('PRODUCT_IMAGE_INFO_BEVEL_TITLE' , 'Product Images:Bevel');
    229 define('PRODUCT_IMAGE_INFO_BEVEL_DESC' , 'Product Images:Bevel<br /><br />Default-values: (8,FFCCCC,330000)<br /><br />shaded bevelled edges<br />Usage:<br />(edge width, hex light colour, hex dark colour)');
     237define('PRODUCT_IMAGE_INFO_BEVEL_TITLE' , 'Product Info Images:Bevel');
     238define('PRODUCT_IMAGE_INFO_BEVEL_DESC' , 'Product Info Images:Bevel<br /><br />Default-values: (8,FFCCCC,330000)<br /><br />shaded bevelled edges<br />Usage:<br />(edge width, hex light colour, hex dark colour)');
    230239
    231 define('PRODUCT_IMAGE_INFO_GREYSCALE_TITLE' , 'Product Images:Greyscale');
    232 define('PRODUCT_IMAGE_INFO_GREYSCALE_DESC' , 'Product Images:Greyscale<br /><br />Default-values: (32,22,22)<br /><br />basic black n white<br />Usage:<br />(int red, int green, int blue)');
     240define('PRODUCT_IMAGE_INFO_GREYSCALE_TITLE' , 'Product Info Images:Greyscale');
     241define('PRODUCT_IMAGE_INFO_GREYSCALE_DESC' , 'Product Info Images:Greyscale<br /><br />Default-values: (32,22,22)<br /><br />basic black n white<br />Usage:<br />(int red, int green, int blue)');
    233242
    234 define('PRODUCT_IMAGE_INFO_ELLIPSE_TITLE' , 'Product Images:Ellipse');
    235 define('PRODUCT_IMAGE_INFO_ELLIPSE_DESC' , 'Product Images:Ellipse<br /><br />Default-values: (FFFFFF)<br /><br />ellipse on bg colour<br />Usage:<br />(hex background colour)');
     243define('PRODUCT_IMAGE_INFO_ELLIPSE_TITLE' , 'Product Info Images:Ellipse');
     244define('PRODUCT_IMAGE_INFO_ELLIPSE_DESC' , 'Product Info Images:Ellipse<br /><br />Default-values: (FFFFFF)<br /><br />ellipse on bg colour<br />Usage:<br />(hex background colour)');
    236245
    237 define('PRODUCT_IMAGE_INFO_ROUND_EDGES_TITLE' , 'Product Images:Round-edges');
    238 define('PRODUCT_IMAGE_INFO_ROUND_EDGES_DESC' , 'Product Images:Round-edges<br /><br />Default-values: (5,FFFFFF,3)<br /><br />corner trimming<br />Usage:<br />( edge_radius, background colour, anti-alias width)');
     246define('PRODUCT_IMAGE_INFO_ROUND_EDGES_TITLE' , 'Product Info Images:Round-edges');
     247define('PRODUCT_IMAGE_INFO_ROUND_EDGES_DESC' , 'Product Info Images:Round-edges<br /><br />Default-values: (5,FFFFFF,3)<br /><br />corner trimming<br />Usage:<br />( edge_radius, background colour, anti-alias width)');
    239248
    240 define('PRODUCT_IMAGE_INFO_MERGE_TITLE' , 'Product Images:Merge');
    241 define('PRODUCT_IMAGE_INFO_MERGE_DESC' , 'Product Images:Merge<br /><br />Default-values: (overlay.gif,10,-50,60,FF0000)<br /><br />overlay merge image<br />Usage:<br />(merge image,x start [neg = from right],y start [neg = from base],opacity,transparent colour on merge image)');
     249define('PRODUCT_IMAGE_INFO_MERGE_TITLE' , 'Product Info Images:Merge');
     250define('PRODUCT_IMAGE_INFO_MERGE_DESC' , 'Product Info Images:Merge<br /><br />Default-values: (overlay.gif,10,-50,60,FF0000)<br /><br />overlay merge image<br />Usage:<br />(merge image,x start [neg = from right],y start [neg = from base],opacity,transparent colour on merge image)');
    242251
    243 define('PRODUCT_IMAGE_INFO_FRAME_TITLE' , 'Product Images:Frame');
    244 define('PRODUCT_IMAGE_INFO_FRAME_DESC' , 'Product Images:Frame<br /><br />Default-values: (FFFFFF,000000,3,EEEEEE)<br /><br />plain raised border<br />Usage:<br />(hex light colour,hex dark colour,int width of mid bit,hex frame colour [optional - defaults to half way between light and dark edges])');
     252define('PRODUCT_IMAGE_INFO_FRAME_TITLE' , 'Product Info Images:Frame');
     253define('PRODUCT_IMAGE_INFO_FRAME_DESC' , 'Product Info Images:Frame<br /><br />Default-values: (FFFFFF,000000,3,EEEEEE)<br /><br />plain raised border<br />Usage:<br />(hex light colour,hex dark colour,int width of mid bit,hex frame colour [optional - defaults to half way between light and dark edges])');
    245254
    246 define('PRODUCT_IMAGE_INFO_DROP_SHADOW_TITLE' , 'Product Images:Drop-Shadow');
    247 define('PRODUCT_IMAGE_INFO_DROP_SHADOW_DESC' , 'Product Images:Drop-Shadow<br /><br />Default-values: (3,333333,FFFFFF)<br /><br />more like a dodgy motion blur [semi buggy]<br />Usage:<br />(shadow width,hex shadow colour,hex background colour)');
     255define('PRODUCT_IMAGE_INFO_DROP_SHADOW_TITLE' , 'Product Info Images:Drop-Shadow');
     256define('PRODUCT_IMAGE_INFO_DROP_SHADOW_DESC' , 'Product Info Images:Drop-Shadow<br /><br />Default-values: (3,333333,FFFFFF)<br /><br />more like a dodgy motion blur [semi buggy]<br />Usage:<br />(shadow width,hex shadow colour,hex background colour)');
    248257
    249 define('PRODUCT_IMAGE_INFO_MOTION_BLUR_TITLE' , 'Product Images:Motion-Blur');
    250 define('PRODUCT_IMAGE_INFO_MOTION_BLUR_DESC' , 'Product Images:Motion-Blur<br /><br />Default-values: (4,FFFFFF)<br /><br />fading parallel lines<br />Usage:<br />(int number of lines,hex background colour)');
     258define('PRODUCT_IMAGE_INFO_MOTION_BLUR_TITLE' , 'Product Info Images:Motion-Blur');
     259define('PRODUCT_IMAGE_INFO_MOTION_BLUR_DESC' , 'Product Info Images:Motion-Blur<br /><br />Default-values: (4,FFFFFF)<br /><br />fading parallel lines<br />Usage:<br />(int number of lines,hex background colour)');
    251260
    252261define('PRODUCT_IMAGE_POPUP_BEVEL_TITLE' , 'Product Popup Images:Bevel');
    253262define('PRODUCT_IMAGE_POPUP_BEVEL_DESC' , 'Product Popup Images:Bevel<br /><br />Default-values: (8,FFCCCC,330000)<br /><br />shaded bevelled edges<br />Usage:<br />(edge width,hex light colour,hex dark colour)');
  • lang/english/admin/removeoldpics.php

     
    2121- /images/product_images/info_images<br/>
    2222- /images/product_images/original_images<br/>
    2323- /images/product_images/popup_images<br/>
     24- /images/product_images/mini_images<br/>
    2425- /images/product_images/thumbnail_images<br/>
    2526<p>if there are no more references to them in the database.<br/>When a picture is no more needed by an article it can be removed savely from the webserver.</p><br/>');
    2627define('LINK_ORIGINAL', 'Remove old original images');
    2728define('LINK_INFO', 'Remove old info images');
     29define('LINK_MINI', 'Remove old mini images');
    2830define('LINK_THUMBNAIL', 'Remove old thumbnail images');
    2931define('LINK_POPUP', 'Remove old popup images');
    3032define ('LINK_MESSAGE', 'Superfluous item images from the directory "/images/product_images/%s_images" have been deleted.');
  • lang/english/modules/system/image_processing_step.php

     
    2424define('MODULE_STEP_IMAGE_PROCESS_TEXT_DESCRIPTION', 'All Images in these directories<br /><br />
    2525/images/product_images/popup_images/<br />
    2626/images/product_images/info_images/<br />
    27 /images/product_images/thumbnail_images/ <br /> <br /> are getting processed.<br /> <br />
    28 For this purpose, the script uses only a limited number of %s images and calls himself afterwards again.<br /> <br />');
     27/images/product_images/mini_images/<br />
     28/images/product_images/thumbnail_images/<br /><br />are getting processed.<br /><br />
     29For this purpose, the script uses only a limited number of %s images and calls himself afterwards again.<br /><br />');
    2930define('MODULE_STEP_IMAGE_PROCESS_TEXT_TITLE', 'Imageprocessing - product images');
    3031define('MODULE_STEP_IMAGE_PROCESS_STATUS_DESC','Module status');
    3132define('MODULE_STEP_IMAGE_PROCESS_STATUS_TITLE','Status');
  • lang/german/admin/configuration.php

     
    182182define('SMALL_IMAGE_HEIGHT_TITLE' , 'H&ouml;he der Artikel Bilder');
    183183define('SMALL_IMAGE_HEIGHT_DESC' , 'Maximale H&ouml;he der Artikel Bilderin Pixeln.');
    184184
     185define('HEADING_IMAGE_WIDTH_TITLE' , 'Breite der &Uuml;berschrift Bilder');
     186define('HEADING_IMAGE_WIDTH_DESC' , 'Maximale Breite der &Uuml;berschrift Bilder in Pixel');
     187define('HEADING_IMAGE_HEIGHT_TITLE' , 'H&ouml;he der &Uuml;berschrift Bilder');
     188define('HEADING_IMAGE_HEIGHT_DESC' , 'Maximale H&ouml;he der &Uuml;berschriftbilder in Pixel');
     189
    185190define('SUBCATEGORY_IMAGE_WIDTH_TITLE' , 'Breite der Subkategorie-(Warengruppen-) Bilder');
    186191define('SUBCATEGORY_IMAGE_WIDTH_DESC' , 'Maximale Breite der Subkategorie-(Warengruppen-) Bilder in Pixeln.');
    187192define('SUBCATEGORY_IMAGE_HEIGHT_TITLE' , 'H&ouml;he der Subkategorie-(Warengruppen-) Bilder');
     
    196201define('MO_PICS_TITLE', 'Anzahl zus&auml;tzlicher Produktbilder');
    197202define('MO_PICS_DESC', 'Anzahl der Produktbilder die zus&auml;tzlich zum Haupt-Produktbild zur Verf&uuml;gung stehen sollen.');
    198203
     204//Mini Images
     205define('PRODUCT_IMAGE_MINI_BEVEL_TITLE' , 'Artikel-Mini-Bild:Bevel<br /><img src="images/config_bevel.gif">');
     206define('PRODUCT_IMAGE_MINI_BEVEL_DESC' , 'Artikel-Mini-Bild:Bevel<br /><br />Default Wert: (8,FFCCCC,330000)<br /><br />shaded bevelled edges<br />Verwendung:<br />(edge width,hex light colour,hex dark colour)');
     207
    199208//This is for the Images showing your products for preview. All the small stuff.
    200209
    201210define('PRODUCT_IMAGE_THUMBNAIL_BEVEL_TITLE' , 'Artikel-Thumbnails:Bevel<br /><img src="images/config_bevel.gif">');
     
    207216define('PRODUCT_IMAGE_THUMBNAIL_ELLIPSE_TITLE' , 'Artikel-Thumbnails:Ellipse<br /><img src="images/config_eclipse.gif">');
    208217define('PRODUCT_IMAGE_THUMBNAIL_ELLIPSE_DESC' , 'Artikel-Thumbnails:Ellipse<br /><br />Default Wert: (FFFFFF)<br /><br />ellipse on bg colour<br />Verwendung:<br />(hex background colour)');
    209218
     219define('PRODUCT_IMAGE_MINI_MERGE_TITLE' , 'Artikel-Mini-Bilder:Merge<br />');
     220define('PRODUCT_IMAGE_MINI_MERGE_DESC' , 'Artikel-Mini-Bilder:Merge<br /><br />Default Wert: (overlay.gif,10,-50,60,FF0000)<br /><br />overlay merge image<br />Verwendung:<br />(merge image,x start [neg = from right],y start [neg = from base],opacity, transparent colour on merge image)');
     221
    210222define('PRODUCT_IMAGE_THUMBNAIL_ROUND_EDGES_TITLE' , 'Artikel-Thumbnails:Round-edges<br /><img src="images/config_edge.gif">');
    211223define('PRODUCT_IMAGE_THUMBNAIL_ROUND_EDGES_DESC' , 'Artikel-Thumbnails:Round-edges<br /><br />Default Wert: (5,FFFFFF,3)<br /><br />corner trimming<br />Verwendung:<br />(edge_radius,background colour,anti-alias width)');
    212224
  • lang/german/admin/removeoldpics.php

     
    2121- /images/product_images/info_images<br/>
    2222- /images/product_images/original_images<br/>
    2323- /images/product_images/popup_images<br/>
     24- /images/product_images/mini_images<br/>
    2425- /images/product_images/thumbnail_images<br/>
    2526<p>vom Webserver gel&ouml;scht werden, wenn in der Datenbank kein Bezug mehr zu diesen Artikelbildern vorhanden ist.<br/>Wenn ein Bild von keinem Produkt mehr genutzt wird, so kann das Bild vom Webserver gefahrlos gel&ouml;scht werden.</p><br/>');
    2627define('LINK_ORIGINAL', 'Alte Originalbilder l&ouml;schen');
    2728define('LINK_INFO', 'Alte Infobilder l&ouml;schen');
     29define('LINK_MINI', 'Alte Minibilder l&ouml;schen');
    2830define('LINK_THUMBNAIL', 'Alte Thumbnailbilder l&ouml;schen');
    2931define('LINK_POPUP', 'Alte Popupbilder l&ouml;schen');
    3032define('LINK_MESSAGE', '&Uuml;berfl&uuml;ssige Artikelbilder aus dem Verzeichnis "/images/product_images/%s_images" wurden gel&ouml;scht.');
  • lang/german/modules/system/image_processing_step.php

     
    2424define('MODULE_STEP_IMAGE_PROCESS_TEXT_DESCRIPTION', 'Es werden alle Bilder in den Verzeichnissen<br /><br />
    2525/images/product_images/popup_images/<br />
    2626/images/product_images/info_images/<br />
    27 /images/product_images/thumbnail_images/ <br /> <br /> neu erstellt.<br /> <br />
    28 Hierzu verarbeitet das Script nur eine begrenzte Anzahl von %s Bildern und ruft sich danach selbst wieder auf.<br /> <br />');
     27/images/product_images/mini_images/<br />
     28/images/product_images/thumbnail_images/<br /><br />neu erstellt.<br /><br />
     29Hierzu verarbeitet das Script nur eine begrenzte Anzahl von %s Bildern und ruft sich danach selbst wieder auf.<br /><br />');
    2930define('MODULE_STEP_IMAGE_PROCESS_TEXT_TITLE', 'Imageprocessing - Produktbilder');
    3031define('MODULE_STEP_IMAGE_PROCESS_STATUS_DESC','Modulstatus');
    3132define('MODULE_STEP_IMAGE_PROCESS_STATUS_TITLE','Status');
  • templates/tpl_modified/boxes/box_best_sellers.html

     
    99  <li>
    1010    <div class="carousel_box">
    1111      <a href="{$box_data.PRODUCTS_LINK}" title="{$box_data.PRODUCTS_NAME|onlytext}">
    12         <span class="cb_image">{if $box_data.PRODUCTS_IMAGE}<img src="{$box_data.PRODUCTS_IMAGE}" alt="{$box_data.PRODUCTS_NAME|onlytext}" title="{$box_data.PRODUCTS_NAME|onlytext}" />{/if}</span>
     12        <span class="cb_image">{if $box_data.PRODUCTS_IMAGE}<img src="{$box_data.PRODUCTS_IMAGE|replace:"thumbnail":"mini"}" alt="{$box_data.PRODUCTS_NAME|onlytext}" title="{$box_data.PRODUCTS_NAME|onlytext}" />{/if}</span>
    1313        <span class="cb_title">{$box_data.PRODUCTS_NAME|mb_substr:"0":"36":"UTF-8"}</span>
    1414      </a>
    1515    </div>
  • templates/tpl_modified_responsive/boxes/box_best_sellers.html

     
    99  <li>
    1010    <div class="carousel_box">
    1111      <a href="{$box_data.PRODUCTS_LINK}" title="{$box_data.PRODUCTS_NAME|onlytext}">
    12         <span class="cb_image">{if $box_data.PRODUCTS_IMAGE}<img src="{$box_data.PRODUCTS_IMAGE}" alt="{$box_data.PRODUCTS_NAME|onlytext}" title="{$box_data.PRODUCTS_NAME|onlytext}" />{/if}</span>
     12        <span class="cb_image">{if $box_data.PRODUCTS_IMAGE}<img src="{$box_data.PRODUCTS_IMAGE|replace:"thumbnail":"mini"}" alt="{$box_data.PRODUCTS_NAME|onlytext}" title="{$box_data.PRODUCTS_NAME|onlytext}" />{/if}</span>
    1313        <span class="cb_title">{$box_data.PRODUCTS_NAME|mb_substr:"0":"36":"UTF-8"}</span>
    1414      </a>
    1515    </div>
  • templates/tpl_modified_responsive_flat/boxes/box_best_sellers.html

     
    99  <li>
    1010    <div class="carousel_box">
    1111      <a href="{$box_data.PRODUCTS_LINK}" title="{$box_data.PRODUCTS_NAME|onlytext}">
    12         <span class="cb_image">{if $box_data.PRODUCTS_IMAGE}<img src="{$box_data.PRODUCTS_IMAGE}" alt="{$box_data.PRODUCTS_NAME|onlytext}" title="{$box_data.PRODUCTS_NAME|onlytext}" />{/if}</span>
     12        <span class="cb_image">{if $box_data.PRODUCTS_IMAGE}<img src="{$box_data.PRODUCTS_IMAGE|replace:"thumbnail":"mini"}" alt="{$box_data.PRODUCTS_NAME|onlytext}" title="{$box_data.PRODUCTS_NAME|onlytext}" />{/if}</span>
    1313        <span class="cb_title">{$box_data.PRODUCTS_NAME|mb_substr:"0":"36":"UTF-8"}</span>
    1414      </a>
    1515    </div>
  • templates/xtc5/boxes/box_best_sellers.html

     
    44<div class="boxbody">
    55  {foreach name=aussen item=box_data from=$box_content}
    66    <dl>
    7       <dt><a href="{$box_data.PRODUCTS_LINK}" title="{$box_data.PRODUCTS_NAME}">{if $box_data.PRODUCTS_IMAGE}<img src="{$box_data.PRODUCTS_IMAGE}" alt="{$box_data.PRODUCTS_NAME|onlytext}" title="{$box_data.PRODUCTS_NAME|onlytext}" />{/if}</a></dt>
     7      <dt><a href="{$box_data.PRODUCTS_LINK}" title="{$box_data.PRODUCTS_NAME}">{if $box_data.PRODUCTS_IMAGE}<img src="{$box_data.PRODUCTS_IMAGE|replace:"thumbnail":"mini"}" alt="{$box_data.PRODUCTS_NAME|onlytext}" title="{$box_data.PRODUCTS_NAME|onlytext}" />{/if}</a></dt>
    88      <dd>
    9         <h3>{$box_data.COUNT}. <a href="{$box_data.PRODUCTS_LINK}">{$box_data.PRODUCTS_NAME}</a></h3>
     9        <h3>{$box_data.COUNT}. <a href="{$box_data.PRODUCTS_LINK}">{textformat wrap=18 wrap_cut=true}{$box_data.PRODUCTS_NAME}{/textformat}</a></h3>
    1010        <p>
    1111          {$box_data.PRODUCTS_PRICE}<br />
    1212          {if $box_data.PRODUCTS_VPE}{$box_data.PRODUCTS_VPE}<br />{/if}