hacker-slides icon indicating copy to clipboard operation
hacker-slides copied to clipboard

add image upload functionality

Open jacksingleton opened this issue 10 years ago • 5 comments

At some point, Sandstorm will actually disallow embedding off-site resources via Content-Security-Policy since otherwise it is trivial to leak data out of a Sandstorm app, something we'd like to prevent. (Currently, this client-side sandbox is incomplete.) - Kenton

jacksingleton avatar Feb 20 '15 00:02 jacksingleton

We'll also need to modify reveal.js's CSS themes, since they currently load Google web fonts. Perhaps add a build step that pre-fetches the various font files and adjusts the .scss to use the locally-cached copies?

zarvox avatar Jun 04 '15 21:06 zarvox

Would be nice to allow uploading of more than just images. It might be useful to upload video, audio, etc. Even if off-site embeds are allowed, I might want my presentation to be entirely self-contained so Sandstorm's own backup/restore mechanisms capture the whole thing.

ndarilek avatar Jan 20 '16 03:01 ndarilek

Agreed @ndarilek. Eventually I think Hacker Slides should integrate with a file upload app like Filedrop or Davros via the powerbox and allow any file to be embedded within a presentation.

jacksingleton avatar Jan 20 '16 20:01 jacksingleton

Sounds excellent @jacksingleton . This would be the best solution for the sandstorm environment.

JamborJan avatar Jan 21 '16 13:01 JamborJan

For the moment, there's a hacky way to do this with Davros

  1. upload image to Davros
  2. view image in Davros and copy the link from “Download Original” eg: <img src="https://16290b47747ab678fb611bf4741ss.yoursever.net/remote.php/webdav/tutorials/images/voyager.jpg" width=300>
  3. include this link in Hackerslides, and size to fit

zeigerpuppy avatar May 05 '16 03:05 zeigerpuppy