You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.
User type: Logged-in user (for use by public user)
User level: Advanced
Description
I would love to be able to integrate the galleries of nextcloud into my website the following way (in bold the missing part):
Create a folder with some pictures (on nextcloud)
Create a public link to share the folder content (on nextcloud)
Get a javascript link to retrieve the picture list and URLs (on nextcloud)
Be able to use this list to display a gallery (on my website)
I see two major parts:
Get the image list (either via JSON and appropriate CORS or JSONP - I prefer the first option)
Get the images (thumbnail and full size) via some URL
The "gallery" part is left to the user (I'm considering using http://nanogallery2.nanostudio.org/ for instance). Some boilerplate code could be given as example to have a working gallery in 2 mins.
Benefit / value
It would prevent redondant work (saving the pictures to my nextcloud and uploading them to my website).
It would save space (and bandwidth) on my website server and integrate nicely (nicer a simple link to the public gallery).
It would be very flexible (I can add/remove pictures later from the nextcloud folder and it will update my blog accordingly).
Risk / caveats
Exposing a JSONP file makes the calling website (blog) vulnerable if the nextcloud server is compromised.
Adding ways to access file list and images opens new possibility to get access to the nextcloud server (possibility of a security breach with CORS allowed).
Are you a developer willing to implement this feature?: yes (but I don't have enough knowledge of the internals of nextcloud yet)
Can you sponsor the development of this feature or do you know someone who can?: not yet
The text was updated successfully, but these errors were encountered:
Feature request
User type: Logged-in user (for use by public user)
User level: Advanced
Description
I would love to be able to integrate the galleries of nextcloud into my website the following way (in bold the missing part):
I see two major parts:
The "gallery" part is left to the user (I'm considering using http://nanogallery2.nanostudio.org/ for instance). Some boilerplate code could be given as example to have a working gallery in 2 mins.
Benefit / value
It would prevent redondant work (saving the pictures to my nextcloud and uploading them to my website).
It would save space (and bandwidth) on my website server and integrate nicely (nicer a simple link to the public gallery).
It would be very flexible (I can add/remove pictures later from the nextcloud folder and it will update my blog accordingly).
Risk / caveats
Exposing a JSONP file makes the calling website (blog) vulnerable if the nextcloud server is compromised.
Adding ways to access file list and images opens new possibility to get access to the nextcloud server (possibility of a security breach with CORS allowed).
Are you a developer willing to implement this feature?: yes (but I don't have enough knowledge of the internals of nextcloud yet)
Can you sponsor the development of this feature or do you know someone who can?: not yet
The text was updated successfully, but these errors were encountered: