I installed FlySystem and the S3 Adapter. Everything is working correctly expect for the image styles.
When the Default Download Method is set to Flysystem:s3-files the image style effects are not shown in the preview. And when I click on view actual size the effects are not reflected.
When the Default Download Method is set to Flysystem:local-files the image style effects are shown, but when I click on the view actual size I am sent to an Access Denied page.
I would like to use my S3 file system for all my files, so what setting am I missing?? Also, is the Access Denied page appearing because of a file permission setting?? If so, where do I change it??
This is my configuration:
$schemes = [
's3-files' => [
'type' => 's3',
'driver' => 's3',
'config' => [
'key' => '[key]',
'secret' => '[secret]',
'region' => 'us-west-2',
'bucket' => '[bucket]',
// Optional.
//'prefix' => '[prefix]', // Directory prefix for all uploaded/viewed files.
//'cname' => '[S3 url]', // A cname that resolves to your bucket. Used for URL generation.
],
],
'local-files' => [
'driver' => 'local',
'config' => [
'root' => '/var/www/html/site',
],
'cache' => FALSE,
'replicate' => 's3-files',
'serve_js' => TRUE,
'serve_css' => TRUE,
]
];
$settings['flysystem'] = $schemes;
Thanx
Closed: outdated
Miscellaneous
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.