Changeset 18053
- Timestamp:
- 2009/06/08 12:44:50 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/products/LC_Page_Products_Detail.php
r17969 r18053 271 271 //この商品を買った人はこんな商品も買っています 272 272 $this->arrRelateProducts = $this->lfGetRelateProducts($tmp_id); 273 274 // 拡大画像のウィンドウサイズをセット275 if (isset($this->arrFile["main_large_image"])) {276 $image_path = IMAGE_SAVE_DIR . basename($this->arrFile["main_large_image"]["filepath"]);277 } else {278 $image_path = "";279 }280 281 list($large_width, $large_height) = getimagesize($image_path);282 $this->tpl_large_width = $large_width + 60;283 $this->tpl_large_height = $large_height + 80;284 273 285 274 $this->lfConvertParam(); … … 497 486 $this->arrRelateProducts = $this->lfGetRelateProducts($tmp_id); 498 487 499 // 拡大画像のウィンドウサイズをセット500 if (!empty($this->arrFile["main_large_image"])) {501 list($large_width, $large_height) = getimagesize(IMAGE_SAVE_DIR . basename($this->arrFile["main_large_image"]["filepath"]));502 }503 $this->tpl_large_width = isset($large_width) ? $large_width + 60 : 0;504 $this->tpl_large_height = isset($large_height) ? $large_height + 80 : 0;505 506 488 $objView->assignobj($this); 507 489 $objView->display(SITE_FRAME);
Note: See TracChangeset
for help on using the changeset viewer.
