Description
Bug Report
Q | A |
---|---|
BC Break | yes/no |
Bundle version | 1.8 |
Symfony version | 4.4.51 |
PHP version | 7.4 |
Summary
I am currently using:
I have integrated AWS S3 to upload files into the cloud. It works fine uploading the files, but when viewing the files it showing 404.
This is mainly caused when I use 'imagine_pattern' => 'scale',
I believe it might be because its trying to cache the image into the imagine_pattern but not sure how to solve this. Please advise, help much appreciated!
The url looks like this:
http://localhost.test/media/cache/resolve/scale/https://bucketName.s3.eu-west-2.amazonaws.com/document/67/67a528b6a66f1390184160.JPG
when I remove this flag, then images will show and I can see they are loaded under the S3 full url.
This is my services.yaml
This is my knp_gaufrette.yaml
This is my vich_uploader.yaml
This is my Form field
This is my liip_imagine.yaml
"aws/aws-sdk-php-symfony": "^2.6",
"knplabs/knp-gaufrette-bundle": "^0.8.0",