Image Styles not generating

Created on 19 April 2016, almost 9 years ago
Updated 17 January 2025, about 2 months ago

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

πŸ’¬ Support request
Status

Closed: outdated

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024