Changeset 18156
- Timestamp:
- 2009/07/01 20:46:40 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_4/data/class/pages/products/LC_Page_Products_Detail.php
r17988 r18156 273 273 $this->arrRelateProducts = $this->lfGetRelateProducts($tmp_id); 274 274 275 // 拡大画像のウィンドウサイズをセット276 if (isset($this->arrFile["main_large_image"])) {277 $image_path = IMAGE_SAVE_DIR . basename($this->arrFile["main_large_image"]["filepath"]);278 } else {279 $image_path = "";280 }281 282 list($large_width, $large_height) = getimagesize($image_path);283 $this->tpl_large_width = $large_width + 60;284 $this->tpl_large_height = $large_height + 80;285 286 275 $this->lfConvertParam(); 287 276 … … 495 484 //この商品を買った人はこんな商品も買っています 496 485 $this->arrRelateProducts = $this->lfGetRelateProducts($tmp_id); 497 498 // 拡大画像のウィンドウサイズをセット499 if (!empty($this->arrFile["main_large_image"])) {500 list($large_width, $large_height) = getimagesize(IMAGE_SAVE_DIR . basename($this->arrFile["main_large_image"]["filepath"]));501 }502 $this->tpl_large_width = isset($large_width) ? $large_width + 60 : 0;503 $this->tpl_large_height = isset($large_height) ? $large_height + 80 : 0;504 486 505 487 $objView->assignobj($this);
Note: See TracChangeset
for help on using the changeset viewer.