Skip to content
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

media support #10

Open
cornernote opened this issue May 17, 2017 · 6 comments
Open

media support #10

cornernote opened this issue May 17, 2017 · 6 comments

Comments

@cornernote
Copy link

Hey, very nice app!

Wondering if there is currently a way to upload media? If not, is there any plans for this?

@cornernote
Copy link
Author

Perhaps something like this:

https://github.com/Rovak/InlineAttachment

@cornernote
Copy link
Author

Scratch that last one...

Maybe something like http://www.dropzonejs.com/ connected directly to s3...

I looked into it, but it wasn't as simple as it initially appears.

@til-schneider
Copy link
Owner

Yes, I want to include a media upload some time in future. But I would prefer to store the media in the webspace (next to the articles) instead of depending on a third-party service (like Amazon S3).

Dropzone.js is a good hint - thanks for it. But besides the upload itself (which isn't trivial as you said), you also would need some UI for selecting previously uploaded media. All in all it would be a bit of work to include this feature, for which I don't have the time left right now. But contributions are welcome.

@cornernote
Copy link
Author

Seems like a lot of work for a whole media manager. I was thinking of something more simple, like the way github lets you paste an image directly into an issue. It then inserts the image markdown placeholder while uploading the image. Reusing the image would be as simple as copying the URL from another page where you used it.

Anyway, food for thought...

@til-schneider
Copy link
Owner

til-schneider commented Jun 1, 2017

Wow. Github's behavior is really nice. Much better than the media manager thing of which I thought.

That's some work, too. There are a few things to do under the hood. But it's probably the way I would like to go. Feels very slim ;-)

Thanks for your ideas!

@abbychau
Copy link

I have a little comment that selecting previously uploaded media is not necessary as it not only introduces complexity to the create-delete logic but also induces some difficulty of understanding to the front end users.

I think that attachments can be simply stick to an entry as the nature of wiki does expect to have low duplication of content.

in case of a need of shared icons or resources, a manually handled third party service or cdn would be enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants