-
Notifications
You must be signed in to change notification settings - Fork 65
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
Embeddable galleries #235
Comments
+1 |
At the moment - it seems it is not possible to embed gallaries in an iframe - even with all controls enabled etc. |
@LukasReschke - Do you have some doc handy on the CSP policy which needs to be applied at the controller level for people to be able to embed the HTML template they receive? |
I like this idea. A smaller step might be to somehow create a special share link (using the share interface) that includes html code you could use to embed a thumbnail link to a gallery directory. That might be a smaller hurdle. |
The plan is to use the new REST API (#5) for that. Something like /api/gallery would send you the HTML and links to the JS, thumbnails and previews links. |
i am interested to work on this project because i have worked on webservices so much whenever i read the idea i thought i could help develop this api so any other website can embed gallery into their website and use all functionality of gallery offered by our website |
Cool :). There is already an API, but one or two new routes should be defined. |
The plan for embedding a gallery from ownCloud to other webpages is a great one.From my POV, the iframe idea will be much simpler to implement because the web is heterogenous where websites are built using different languages.This also is not a very customizable way for an end developer willing to integrate the feature to his/her webpage. |
Yes, using an iframe makes it very easy to quickly add a gallery without having to move files to the CMS, forum, etc., but we have to make the result flexible so that it can fit most use cases. Some people may not want the embedded slideshow per example. There are already endpoints in Gallery for people who want to retrieve a list of images or previews: They're free then to customise any Gallery app to present the information they get. |
I think an embeddable widget can work perfectly for this project. The only thing the end user will need to do is put a code snippet containing a special code to their webpage and a gallery will be shown in return. Your thoughts? |
Yes, this could be one of the features of this project. |
What other features were you thinking of? |
I didn't really think about all the details. There are plenty of examples of API from platforms which specialise in serving images and videos and we should at least provide a basic set which matches what they can offer. It has to be easy to set up and flexible. Some people will want a photowall, others a slideshow, etc. It's all about empowering ownCloud users so that they can keep their data where it is without giving up on ease of share. |
This issue was moved to nextcloud/gallery#63 |
User requested
User type: External
User level: Advanced
Description
It should be possible to create a special link which just renders the photowall, including the controls, but without the header and footer.
We could also make the controls optional.
Those links would need to be loaded in an iframe and there may be some Javascript conflicts.
Competitive products
Benefit / value
Make ownCloud hosted content available everywhere
Risk / caveats
Sponsorship
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: