Ticket #219 (closed バグ指摘: 修正済)

Opened 16 years ago

Last modified 14 years ago

商品詳細画面の画像サイズ

Reported by: satou Owned by: somebody
Priority: Milestone: EC-CUBE2.5.0alpha
Component: フロント Version: 2.4.3
Keywords: Cc:
修正済み:

Description

商品詳細画面の画像サイズが維持されず、長方形の画像が正方形に歪んでしまいます。

Change History

comment:1 Changed 16 years ago by satou

  • Status changed from new to closed
  • Resolution set to 修正済

r16971 修正しました。

comment:2 Changed 14 years ago by nanasess

  • Status changed from closed to reopened
  • Version changed from 2.0系(正式版) to 2.4.3
  • Resolution 修正済 deleted
  • Milestone changed from EC-CUBE to EC-CUBE2.5.0
参考
 http://xoops.ec-cube.net/modules/newbb/viewtopic.php?forum=10&post_id=26509&topic_id=5543

サブ画像の箇所は修正されておらず,

width="<!--{$smarty.const.NORMAL_SUBIMAGE_WIDTH}-->" height="<!--{$smarty.const.NORMAL_SUBIMAGE_WIDTH}-->"

となっていて, 結構酷い状態なので差し戻します.

comment:3 Changed 14 years ago by nanasess

修正案. NORMAL_SUBIMAGE_WIDTH の横幅に比率を合わせて表示

<!--サブ画像-->
<!--{* 画像の縦横倍率を算出 *}-->
<!--{assign var=normal_sub_image_factor value=`$arrFile[$key].width/$smarty.const.NORMAL_SUBIMAGE_WIDTH`}-->
<img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrProduct.name|escape}-->" width="<!--{$arrFile[$key].width/$normal_sub_image_factor}-->" height="<!--{$arrFile[$key].height/$normal_sub_image_factor}-->" />

comment:4 Changed 14 years ago by Seasoft

コミュニティ版は r18042 で改訂が入っています。

comment:5 Changed 14 years ago by Seasoft

  • Status changed from reopened to closed
  • Resolution set to 修正済
Note: See TracTickets for help on using tickets.