-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working config for Laravel+elfinder+S3+Glide #60
Comments
As a point of reference, this does not work:
... it throws errors in As an alternative, trying this throws the same error:
|
OK I found a couple of things:
Has anyone gotten image icons to work? |
So thumbnails work? Or which icons do you mean? |
To make it clear, these are the thumbnails that I see for all images: https://salsa.babel.com.au/owncloud/index.php/s/7YCnZXhHrkuIiOz When I open an info box for an image I see this: https://salsa.babel.com.au/owncloud/index.php/s/nMCvj0A8rjp1lJt The Link in that info box is the correct link to the file including the Glide URL. This is the information that I have that Glide integration is working (I also added a bunch of Log::debug statements in the Driver.php code to ensure that the _stat() function is doing the right thing, which it is). |
I've encountered the same issue. I think it's a problem in ElFinder and I've submitted a pull request for it. Studio-42/elFinder#2283 As @delatbabel said, the glide thumbnails urls are correct. They're just not being loaded. |
Hi, more a question or set of questions than an issue.
Like a lot of people I guess I have a combination of requirements including Laravel app + elfinder + S3 storage + Glide.
I have most of it working. My config files look like this:
config/filesystems.php
I have the necessary AWS_S3_* values stored in
.env
.config/elfinder.php
For the elfinder config I have gone with the suggestion of leaving roots null and setting up the disks array instead.
... I also have a properly working Glide installation as evidenced by being able to access images from Flysystem using the /glide_images URL.
The only thing that's not working is the elfinder/Glide integration. As per the README file in laravel-elfinder:
So everything is working except that I don't see any thumbnails generated by Glide, and I can't see any access to the Glide URL (as I watch the server logs) while I'm operating elfinder. elfinder access to the files in Flysystem are working and I can use the Laravel Storage facade to access/modify/delete these files without problems. Also within my Glide ImageController I have been able to inject the Laravel Filesystem contract to create the Glide
ServerFactory
which is working well.Questions:
Is the config with the
glideUrl
parameter supplied underdisks
supposed to work? Should I be providing the config for the Flysystem storage underroots
instead?Can I somehow rely on just the flysystem configuration in
config/filesystems.php
to give me all of the necessary flysystem config for elfinder or do I have to duplicate that intoconfig/elfinder.php
to pass all of the necessary options for (e.g.) Glide integration?Assuming that I do have to duplicate the flysystem config into
config/elfinder.php
, what does a working config for S3 Flysystem access underroots
look like?Thanks,
Del
The text was updated successfully, but these errors were encountered: