﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking
1303	Prodgramcode Reste in der Klasse products.php	Archetim	somebody	"Beginnend bei Zeile 524 ff.

''/*get products image, imageinfo array*/''

  $products_image = $this->productImage($array[wiki:'products_image' products_image], $image);    $p_img = [http://www.php.net/substr substr]($products_image, [http://www.php.net/strlen strlen](DIR_WS_BASE));$img_attr = !'';if ([http://www.php.net/file_exists file_exists]($p_img)) {
    [http://www.php.net/list list]($width, $height, $type, $img_attr) = [http://www.php.net/getimagesize getimagesize]($p_img);
  }

Das Array $img_attr wird im Array $productDataAdds als

'PRODUCTS_IMAGE_SIZE' => $img_attr,

bereitgestellt.

Ich konnte aber weder im xtc5, tpl_modified noch im resonsive Template eine Stelle finden, an der diese Daten verwendet würden.

Ist das nun ein Rest von früher oder ist noch eine Verwendung dafür geplant. Wenn nicht könnte man dies ja auskommentieren.

''/*get products image, imageinfo array*/''

  $products_image = $this->productImage($array[wiki:'products_image' products_image], $image);    ''/*$p_img = substr($products_image, strlen(DIR_WS_BASE));$img_attr = !'';if (file_exists($p_img)) {''
    list($width, $height, $type, $img_attr) = getimagesize($p_img);
  }*/

Man spart sich ja zumindest Zugriffe auf die Platte ( und damit  Ausführungszeit ) ,die Funktion ""buildDataArray"" wird ja recht oft  verwendet."	Frage	new	normal	modified-shop-2.0.4.0	Shop	2.0.3.0					
