Bug(バグ) #1060
sfImageGeneratorGD generates directory for not-allowed image size (sfImageGeneratorGD が許可されていないサイズのディレクトリを作成してしまう)
開始日:
2010-05-12
期日:
進捗率:
100%
3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)
説明
Overview (現象)¶
sfImageGeneratorGD generates directory for not-allowed image size
sfImageGeneratorGD が許可されていないサイズのディレクトリを作成してしまう
Causes (原因)¶
sfImageGeneratorGD generated a directory by basing original image size if the specified image size is not allowed.
指定された画像サイズが許可されていないものだった場合、 sfImageGeneratorGD が画像の原寸のサイズに従ってディレクトリを作成してしまっていた。
Way to fix (修正内容)¶
If the specified image size is invalid, the class stores images to directories for raw-sized images, not based original image size.
指定された画像サイズが許可されていないものだった場合には、原寸のサイズを基にせず、原寸の画像を保存するためのディレクトリに画像を出力するように修正した。
関係しているリビジョン
fixed sfImageGeneratorGD that decide a filepath by size of the source-image if the specified output-image-size is invalid (fixes #1060)
履歴
#1 Kousuke Ebihara がほぼ14年前に更新
- ステータス を Accepted(着手) から Pending Review(レビュー待ち) に変更
- 進捗率 を 0 から 50 に変更
更新履歴 3798b309e86bae4f67650dfb047f1998422e1fc9 で適用されました。
#2 Kousuke Ebihara がほぼ14年前に更新
- 題名 を sfImageGeneratorGD generates directory for not-allowed image size から sfImageGeneratorGD generates directory for not-allowed image size (sfImageGeneratorGD が許可されていないサイズのディレクトリを作成してしまう) に変更
- ステータス を Pending Review(レビュー待ち) から Fixed(完了) に変更
- 進捗率 を 50 から 100 に変更