Changeset 18325 for branches/comu-ver2/data/class/helper/SC_Helper_DB.php
- Timestamp:
- 2009/10/01 22:20:26 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/helper/SC_Helper_DB.php
r18320 r18325 362 362 $arrClassCatName[$arrData['classcategory_id2']]; 363 363 364 // 画像サイズ365 $main_image_path = IMAGE_SAVE_DIR . basename($objPage->arrProductsClass[$cnt]["main_image"]);366 if(file_exists($main_image_path)) {367 list($image_width, $image_height) = getimagesize($main_image_path);368 } else {369 $image_width = 0;370 $image_height = 0;371 }372 373 $objPage->arrProductsClass[$cnt]["tpl_image_width"] = $image_width + 60;374 $objPage->arrProductsClass[$cnt]["tpl_image_height"] = $image_height + 80;375 364 // 価格の登録 376 365 if ($arrData['price02'] != "") {
Note: See TracChangeset
for help on using the changeset viewer.
