Bildausgabe in Artikellisting

FIXME translate


Autor: Robert
CMS version: = alle Versionen

Verzeichnis: /include/inc_module/mod_shop/

Beschreibung

FILE:

/include/inc_module/mod_shop/inc/listing.products.inc.php

FIND near line 232:

  echo '&nbsp;' . html_specialchars($row['shopprod_ordernumber']) . "</td>\n";

AND PUT AFTER:

  $row['shopprod_var']= @unserialize($row['shopprod_var']);
  foreach($row['shopprod_var']['images'] as $key => $value) {
  $img_thumbs = "";
      // 0   :1       :2   :3        :4    :5     :6      :7       :8
      // dbid:filename:hash:extension:width:height:caption:position:zoom
      $thumb_image = get_cached_image(
                      array(    "target_ext"    =>    $row['shopprod_var']['images'][$key]['f_ext'],
                              "image_name"    =>    $row['shopprod_var']['images'][$key]['f_hash'] . '.' . $row['shopprod_var']['images'][$key]['f_ext'],
                              "thumb_name"    =>    md5(    $row['shopprod_var']['images'][$key]['f_hash'].
                                                          $phpwcms["img_list_width"].
                                                          $phpwcms["img_list_height"].
                                                          $phpwcms["sharpen_level"]
                                                      )
                            )
                          );
      if($thumb_image != false) {
          // image found
          $img_name = html_specialchars($row['shopprod_var']['images'][$key]['f_name']);
          $img_thumbs .= '<img src="'.PHPWCMS_IMAGES . $thumb_image[0] .'" border="0" '.$thumb_image[3].' alt="'.$img_name.'" title="'.$img_name.'" />';
      }
  }
  echo '<td>'.$img_thumbs.'</td>';
deutsch/module/shop/bild-im-listing.txt · Last modified: 2018/06/03 18:09 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0