gallery icon indicating copy to clipboard operation
gallery copied to clipboard

Add oEmbed support for image links

Open oparoz opened this issue 9 years ago • 2 comments

From @oparoz on March 18, 2016 22:22

Feature request

User type: External

User level: Advanced

Description

oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly.

http://oembed.com/

It requires 2 URLs:

  • URL scheme: https://interfacloud.com/apps/gallery/api/files/download/*
  • API endpoint: https://interfacloud.com/apps/gallery/api/oembed/

Benefit / value

It's a standard when it comes to providing more information about an image via a simple link and is even used by the popular embedly.

Risk / caveats

Might require core or another app to store additional information about the file, such as the image's dimension

Sponsorship

Could be part of GSOC 2016 (Read the wiki!)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Copied from original issue: owncloud/gallery#611

oparoz avatar Sep 04 '16 12:09 oparoz

Would be a great feature, but not only for images.

benhartwich avatar Jun 15 '19 12:06 benhartwich

It would make it possible to use NC as a Media Source for WordPress. See https://help.nextcloud.com/t/would-it-be-possible-to-use-nextcloud-as-a-wordpress-media-repository/5749/9.

chikamichi avatar May 19 '20 20:05 chikamichi