<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
    <title>Magento Issue Tracking</title>
    <link>http://www.magentocommerce.com/bug-tracking/</link>
    <description></description>
    <dc:language>en</dc:language>
    <dc:creator>MagentoCommerce</dc:creator>
    <dc:rights>Copyright {gmt_date format="%Y"}</dc:rights>
    <dc:date>{gmt_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />
        <item>
        <title>View Issue #12866 / Allow to name image in when upload image with prod</title>
        <link>http://www.magentocommerce.com/bug-tracking/issue?issue=5965</link>
        <description><![CDATA[<strong>Posted:</strong> 2009-04-15 19:58:13<br/><strong>Category:</strong> Webservices API<br/><strong>Version:</strong> 1.3.0<br/><strong>Priority:</strong> normal<br/><strong>Status:</strong> resolved<br/><strong>Reported By:</strong> <a href="http://www.magentocommerce.com/boards/member/1525/">egwada</a></strong><br/><br/>In the API of image product <br />
app/code/core/Mage/Catalog/Model/Product/Attribute/Media/Api.php in method &quot;create&quot; : allow to set up the name of the image that upload.<br />
<br />
I propose some code like that :<br />
    // get a true file name    <br />
    if(!isset($data['file']['name'])){<br />
<br />
            $fileName  = 'image.' . $this-&gt;_mimeTypes[$data['file']['mime']];<br />
    }else{<br />
        $fileName = $data['file']['name'];<br />
    }<br />
<br />
this code will replace this line <br />
$fileName  = 'image.' . $this-&gt;_mimeTypes[$data['file']['mime']];<br />
<br />
The image name is passed as a value of the image array &quot;$data['file']['name']&quot;. I suppose the extension of the file name image is also on this variable.<br />
<br />
The goal of the feature is to avoid to have only image name with the &quot;root name&quot; &quot;image&quot; !<br/><br/><hr/>]]></description>
    </item>
    
                    <item>
        <title>RE: Allow to name image in when upload image with prod</title>
        <description><![CDATA[<em>#1 / Comment by <a href="http://www.magentocommerce.com/boards/member/126890/">David SPORN</a></em><br/><br/>It becomes a frequent subject :<br />
http://www.magentocommerce.com/boards/viewthread/13700/ <br />
http://www.magentocommerce.com/boards/viewthread/16555/]]></description>
    </item>
        </channel>
</rss>