2

Magento (CE、1.8)で SVG 画像をカテゴリ サムネイル画像としてアップロードできません。jpgpngなどの「通常の」画像形式だけが機能するようです。

誰かアイデアがありますか?

magento バックエンド

4

2 に答える 2

1

このモデルを書き直すか、変更する必要があります

クラス Mage_Catalog_Model_Category_Attribute_Backend_Image

アプリ/コード/コア/メイジ/カタログ/モデル/カテゴリ/属性/バックエンド/Image.php

60行目

$uploader->setAllowedExtensions(array('jpg','jpeg','gif','png','svg')); // add the file type SVG to the allowed extension array.

それはうまくいきます

于 2013-10-06T01:18:48.067 に答える