helios-ag / FMElfinderBundle

:file_folder: ElFinderBundle provides ElFinder integration with TinyMCE, CKEditor, Summernote editors
MIT License
275 stars 128 forks source link

Thumb in AWS S3 with Elfinder and league/flysystem-aws-s3-v3 #515

Open KoriaLL opened 9 months ago

KoriaLL commented 9 months ago

Hello,

I am currently using ElfinderBundle to manage my media locally, and I would like to externalize them to an AWS S3 bucket. To do this, I followed the configuration provided in the documentation:

image

https://github.com/helios-ag/FMElfinderBundle/blob/19a7578e301bd37f5f5d4bc1110723b3b03d43bf/docs/flysystem.md

I can manage my media in the bucket without any problems. However, I'm unable to generate the thumbnails for all the items, even when using the parameter "tmb_url: 'self'", as specified in the documentation.

I have the impression that the system is trying to create the thumbs locally and not using Flysystem and the AWS S3 connection to handle this.

Versions :

Thank you for your help

helios-ag commented 9 months ago

hi @KoriaLL Not sure (And I never used s3 for elfinder as storage), but I think you need to configure glide here https://github.com/barryvdh/elfinder-flysystem-driver#displaying-thumbnailsimages-through-glide