| 2 | | |
| 3 | | ''/*get products image, imageinfo array*/'' |
| 4 | | |
| 5 | | $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)) { |
| 6 | | [http://www.php.net/list list]($width, $height, $type, $img_attr) = [http://www.php.net/getimagesize getimagesize]($p_img); |
| 7 | | } |
| 8 | | |
| | 2 | {{{ |
| | 3 | //get products image, imageinfo array |
| | 4 | $products_image = $this->productImage($array['products_image'], $image); |
| | 5 | $p_img = substr($products_image, strlen(DIR_WS_BASE)); |
| | 6 | $img_attr = ''; |
| | 7 | if (file_exists($p_img)) { |
| | 8 | list($width, $height, $type, $img_attr) = getimagesize($p_img); |
| | 9 | } |
| | 10 | }}} |
| 18 | | |
| 19 | | ''/*get products image, imageinfo array*/'' |
| 20 | | |
| 21 | | $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)) {'' |
| 22 | | list($width, $height, $type, $img_attr) = getimagesize($p_img); |
| 23 | | }*/ |
| 24 | | |
| | 20 | {{{ |
| | 21 | //get products image, imageinfo array |
| | 22 | $products_image = $this->productImage($array['products_image'], $image); |
| | 23 | /* |
| | 24 | $p_img = substr($products_image, strlen(DIR_WS_BASE)); |
| | 25 | $img_attr = ''; |
| | 26 | if (file_exists($p_img)) { |
| | 27 | list($width, $height, $type, $img_attr) = getimagesize($p_img); |
| | 28 | } |
| | 29 | */ |
| | 30 | }}} |