If I could spare anyone even a fraction of the time it took me to configure this properly I can only imagine the time saved, given the last two days of head pounding I’ve gone through to finally make this correctly work with the latest AWS SDK (v3.2.5).

So all that under the bridge, here’s a final config to have your images, and any (all) associated filters cached in your S3 buckets.

app/config/parameters.yml

app/config/config.yml

/path/to/services.yml
note: you could also just include this in app/config/config.yml

 

Categories: Random

4 Comments

cameron · February 14, 2016 at 6:04 am

Thanks for the article, looking forward to trying this.

There’s also some good information on the Stream Loader for liipImagine on the symfony page:

http://symfony.com/doc/current/bundles/LiipImagineBundle/data-loader/stream.html

Paddy · June 28, 2016 at 6:30 am

Thanks for this useful article. Do you know what the final cached image paths should look like? I have a issue on GitHub here – https://github.com/liip/LiipImagineBundle/issues/735

    Jake Litwicki · July 5, 2016 at 7:05 pm

    Can you confirm that the %s3_bucket% parameter is properly set, and also that the bucket itself exists and has proper read/write permissions? If I remember correctly you’ll need to have those cache buckets created and permissions set in order for Liip to correctly send cached files there, otherwise it will fail.

Angular + Symfony file upload with AWS S3 | JAKE LITWICKI · August 19, 2015 at 3:26 pm

[…] referencing my previous post on setting up Liip + Gaufrette + AwsS3 I’ll assume you’ve configured and set that up properly. Given that, you’d adjust […]

Leave a Reply

Your email address will not be published. Required fields are marked *