I am using Nextcloud 9.0.53 and Galleryplus 15.1.1. If I remember correcty the behaviour when clicking on an image was to display it in some kind of slideshow. Instead of this the browser tries to download the file (tested with latest Firefox and Chrome)
Within the browser console I noticed a Content-Security-Policy error: Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf self blockiert (âscript-src https://example.org âunsafe-evalââ). (Sorry for the german message, it means that loading of a resource was blocked because of CSP.) After adding unsafe-inline to the CSP script-src header the error doesnât appear anymore but the slideshow isnât working also (so I changed the CSP back to the default)
I donât know how long this error affects me but I think it persits already for a long time and after searching through the forums and GitHub issues I could not find any solution.
I am thankful for any advise you give me.
Best Regard,
Finn Christiansen
EDIT: Of course I had a look in the owncloud.log but not a single line is logged while clicking on an image or browsing through the images.
I have installed it on a Debian Jessie server using the tar.bz2 archive an it is located in /var/www/vhosts/owncloud.example.org if this matters. The data directory is located at /opt/owncloud.
The only advice I can offer at the moment is to disable other apps one by one, starting with Contacts, Calendar and the video player until you find the one which gets in the way.
After disabling the apps I cleared my browser cache. I donât use asset pipelinging so I think this should be enough, right?)
UPDATE: I have just noticed one thing: The slideshow works but only if I view images via a shared link. Is this the expected behaviour? If I remember correctly I also could use the slideshow while viewing my own files/images.
You should be able to see local files as well. Maybe some preview types have not been enabled?
And is this only happening on the Files side or is the slideshow also broken in Gallery itself?
Another explanation could be that the media type of some of your files is wrong and repairing the filecache may help.
It seems like the galleryplus app only works via shared links. The grid view is also broken when I browse through my own files (the circle keeps spinning).
The memory limit was set to 512M (which should be enough I think) and raising it to 1024 MB did not make any difference.
I think I should try with a clean nextcloud installation on a testing server and see if the galleryplus apps works. If it works, which I think it should, I hopefully will find something which differs from my instalation.
Thank you for your help so far.
Yeah, 512MB is enough. I thought that maybe the shared pictures were smaller than the ones you have locally.
And thinking about it, you would have seen something in the logs.
A browser extension would also leave a trace in the browser logs, so Iâm not sure whatâs happening here.
For this request I get a valid JSON response (containing a features / mediatypes object). As a temporary workaround I modified the file apps/gallery/appinfo/routes.php at line 71 so the url for config#get also has a trailing slash. With this the response gets correctly answered and the gallery and slideshow are working even if I am logged in.
Unfortunately I donât know why the response /apps/gallery/config gets redirected and I donât know why the second request /apps/gallery/config.public doesnât get redirected.