AoePeople_AmazonCdn fork with improved image resizing and caching.
Add something like the following to your composer.json:
{
"require": {
"trellis/amazon-cdn": "~1.0.0",
"magento-hackathon/magento-composer-installer": "*",
},
"extra": {
"magento-root-dir": "./"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/Trellis-Inc/Trellis_AmazonCdn.git"
},
{
"type": "vcs",
"url": "https://github.com/aws/aws-sdk-php.git"
},
{
"type": "composer",
"url": "http://packages.firegento.com"
}
]
}
Load the composer autoloader into Magento if you haven't done so yet.
You can do this by adding the following to the <global />
node of app/etc/local.xml
:
<composer_vendor_path><![CDATA[{{root_dir}}/vendor]]></composer_vendor_path>
Then issue the composer install
command.