- Timestamp:
- 2007/10/05 21:09:09 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/helper/SC_Helper_DB.php
r15630 r16273 335 335 336 336 // 画像サイズ 337 list($image_width, $image_height) = getimagesize(IMAGE_SAVE_DIR . basename($objPage->arrProductsClass[$cnt]["main_image"])); 337 $main_image_path = IMAGE_SAVE_DIR . basename($objPage->arrProductsClass[$cnt]["main_image"]); 338 if(file_exists($main_image_path)) { 339 list($image_width, $image_height) = getimagesize($main_image_path); 340 } else { 341 $image_width = 0; 342 $image_height = 0; 343 } 344 338 345 $objPage->arrProductsClass[$cnt]["tpl_image_width"] = $image_width + 60; 339 $objPage->arrProductsClass[$cnt]["tpl_image_height"] = $image_height + 80; 340 346 $objPage->arrProductsClass[$cnt]["tpl_image_height"] = $image_height + 80; 341 347 // 価格の登録 342 348 if ($arrData['price02'] != "") {
Note: See TracChangeset
for help on using the changeset viewer.