# Files/Download Manager For Discourse

**URL:** https://meta.discourse.org/t/files-download-manager-for-discourse/26887
**Category:** Feature
**Created:** [27 Marzo 2015, 10:41pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887 "2015-03-27T22:41:42Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Qasem\_h](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/qasem_h/32/155935_2.png) [@Qasem\_h](https://meta.discourse.org/u/Qasem_h)
#### Post date: [27 Marzo 2015, 10:41pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/1 "2015-03-27T22:41:43Z")

</div>

Hello

If possible, a media library system design for dc like wp  
To better manage files and the Media  
thank you

> The Media Library Screen allows you to edit, view, and delete Media previously uploaded to your blog. Multiple Media objects can be selected for deletion. Search and filtering ability is also provided to allow you to find the desired Media.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [28 Marzo 2015, 1:57am UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/2 "2015-03-28T01:57:26Z")

</div>

I do not think that makes sense in a discussion system. Blogs are for single owners and editorial content, not collaborative discussion with larger groups.

---

<div class="post-metadata">

### Author: ![Qasem\_h](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/qasem_h/32/155935_2.png) [@Qasem\_h](https://meta.discourse.org/u/Qasem_h)
#### Post date: [28 Marzo 2015, 5:45pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/3 "2015-03-28T17:45:24Z")

</div>

THANK YOU FOR REPLY

but i think this is good idea for discourse

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [28 Marzo 2015, 5:53pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/4 "2015-03-28T17:53:29Z")

</div>

I’m not saying this is a high priority item, but I do think it would be pretty neat to have a media viewer for discourse - that displays media in a slick gallery/slideshow format and links to the topics that contain them, and can be used to source pictures to embed in topics.

Basecamp does this fairly nicely and it is a useful alternative way to find content that you know is in there but can’t quite remember what words were used to post it…

I do often reuse the same images in topics and go to old topics to grab the URLs, or just re-upload them.

---

<div class="post-metadata">

### Author: ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)
#### Post date: [28 Marzo 2015, 6:03pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/5 "2015-03-28T18:03:05Z")

</div>

How would that media viewer work? How do you arrange images? How do you generate image titles or descriptions?

Granted, meta may not be the ideal use case, but at least half the images here are screenshots of Discourse bugs. The vast majority of these images are utterly useless without the context in which they were posted…

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [28 Marzo 2015, 6:13pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/6 "2015-03-28T18:13:34Z")

</div>

Have you seen how basecamp does it? [Projects 101 - Basecamp 2 Help](https://basecamp.com/help/guides/projects/files)

There’s also a grid view which I think is better than this gif below, couldn’t immediately find a screenshot. I actually find this to be a super useful alternative way to navigate precisely the sort of stuff being discussed and shared here on meta.

 ![](https://global.discourse-cdn.com/meta/original/3X/3/4/340b8e25c5165d2c799af4105e1f1f657396e8b5.gif)

---

<div class="post-metadata">

### Author: ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)
#### Post date: [28 Marzo 2015, 6:25pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/7 "2015-03-28T18:25:03Z")

</div>

That’s a nice design for sure, but uploads in Discourse have neither labels nor comments and all too often not even a useful filename when an image was pasted directly into the composer…

![](https://global.discourse-cdn.com/meta/original/3X/7/5/756d1c6ce3ced9a54f420b37c192fd3edc7b828b.png)

(Cause, you know, Rocko’s Modern Life is really bb3166193aa7f808… 😜)

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [28 Marzo 2015, 6:30pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/8 "2015-03-28T18:30:55Z")

</div>

If there’s a way to prune duplicate files or files that aren’t linked, then a media library is just fluff. At least to me.

---

<div class="post-metadata">

### Author: ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)
#### Post date: [28 Marzo 2015, 6:38pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/9 "2015-03-28T18:38:48Z")

</div>

Uploads are identified by a content hash, so the same file is never stored twice; and yes, unlinked uploads are moved to a tombstone area roughly 1 hour after becoming unlinked and are erased from disk a month later. 😄

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [28 Marzo 2015, 6:47pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/10 "2015-03-28T18:47:04Z")

</div>

Now, to be fair. The only reason I can see this as something useful is to handle downloads. Like a download manager to pass and handle permissions per file. But plugin territory. It would be useful no doubt for communities that are based on files, such as lots of photos, or videos, ect.

A ‘Media Library’ has words that imply something less than utilitarian. As @elberet already mentioned, the clean-up is done automatically. Other than just seeing what’s there (which I am guessing can be done with FTP, maybe?), I don’t personally see a big use for it across a large amount of instances.

---

<div class="post-metadata">

### Author: ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)
#### Post date: [28 Marzo 2015, 6:52pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/11 "2015-03-28T18:52:08Z")

</div>

Per-file permissions would be a completely new feature for Discourse and require a lot more work before the UI becomes relevant. Not that such permissions wouldn’t be welcome… right now, if you are logged in and know a file’s URL, you can download the file even if it was posted in a restricted category that you cannot access or in a direct message. 😕

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [28 Marzo 2015, 6:58pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/12 "2015-03-28T18:58:03Z")

</div>

Yeah, that’s a bit of a problem. That would rely on users or staff being honest and not sharing links. But that’s one iota better than having the link exposed everywhere (which can be fixed via hotlink protection).

Or hey. Maybe you can USE hotlink protection for this? I haven’t set up my dev environment yet so apologies on any ignorance I may show of the codebase and what’s under the hood, so to speak. Are images separated by categories and placed in appropriately-named folders? Or is it one big image dump in one folder for the entire instance? Maybe hotlink-protect the folders to only allow inline viewing within a specific category?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [28 Marzo 2015, 10:33pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/13 "2015-03-28T22:33:16Z")

</div>

> [@purldator](#):
>
> Are images separated by categories and placed in appropriately-named folders? Or is it one big image dump in one folder for the entire instance?

Uploads do not have source information associated with them, the only protection available is “prevent anons from downloading files”. And being told “you must sign in to download this file” is one of the most annoying things about traditional PHP forums.

Adding category source information to uploads is problematic - what if you uploaded something in Staff then want to re-share it publicly? What if you want to take it back? You’d have your hands full trying to fully specify the behavior here.

* * *

UPDATE: [https://meta.discourse.org/t/secure-media-uploads/meta/140017](https://meta.discourse.org/t/secure-media-uploads/meta/140017)

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [28 Marzo 2015, 11:03pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/14 "2015-03-28T23:03:39Z")

</div>

I know. And I agree with everything you said. One has to set priorities. Which circumstances are the lesser of two evils. I’d rather a member get a hold of a file from a restricted category or direct message rather than a complete stranger who I have absolutely no control over.

---

<div class="post-metadata">

### Author: ![Qasem\_h](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/qasem_h/32/155935_2.png) [@Qasem\_h](https://meta.discourse.org/u/Qasem_h)
#### Post date: [29 Marzo 2015, 5:35pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/15 "2015-03-29T17:35:42Z")

</div>

I think we can management uploaded medias whit simple plugin

this is wp media library management

> **[Media Library screen](https://wordpress.org/documentation/article/media-library-screen/)**
>
> Media →︎ Library Media consists of the images, video, recordings, and files that you upload and use in your blog. Media is typically uploaded and inserted into the content when writing a Post or writing a Page. Note that the Uploading Setting in...

---

<div class="post-metadata">

### Author: ![RubyRhod](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rubyrhod/32/40260_2.png) [@RubyRhod](https://meta.discourse.org/u/RubyRhod)
#### Post date: [29 Marzo 2015, 6:51pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/16 "2015-03-29T18:51:13Z")

</div>

Annoying why? Because it forces you to log in (or register)? IMHO that’s a good way to get a lurker to sign up.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [29 Marzo 2015, 6:56pm UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/17 "2015-03-29T18:56:43Z")

</div>

Not really, if they sign up to get that file and never come back. I have done that many times (when forced to) and never, ever wanted to actually participate.

I don’t see the point of creating a bunch of orphan accounts. If you want to drive participation, forcing signup just to download a file is not the way.

---

<div class="post-metadata">

### Author: ![RubyRhod](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rubyrhod/32/40260_2.png) [@RubyRhod](https://meta.discourse.org/u/RubyRhod)
#### Post date: [30 Marzo 2015, 1:10am UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/18 "2015-03-30T01:10:21Z")

</div>

…in your opinion. I have no problem with opinionated software, but protecting media / downloads from casual downloading seems to be a very basic requirement. And at least with an orphan account I’d have some validated information about the person (IP address, validated email address)

I know you’re trying to be different, and there’s nothing wrong with that. But content protection is important.

Just as user list protection was important. I recently ran into a case with a client - he ran a Facebook group, and some nutjob cut and pasted screenshots of his member list with derogatory and slanderous claims about them. (Yes, I have some strange clients and friends)

That may seem irrelevant to this particular thread, but the very next day after dealing with takedown notices, he downloaded a picture from the group and turned it into one of those “motivational/meme” posters, and distributed it again to his group. Another round of takedown notices ensued.

Content Protection is important. There be \*\*'d up people out there. Whatever can be done to minimize their ability to get content from a forum, the better.

---

<div class="post-metadata">

### Author: ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)
#### Post date: [30 Marzo 2015, 4:15am UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/19 "2015-03-30T04:15:22Z")

</div>

> [@RubyRhod](#):
>
> IMHO that’s a good way to get a lurker to sign up.

That’s a great way to get _me_ to hit Ctrl-W and google for another source… 😐

---

<div class="post-metadata">

### Author: ![purldator](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@purldator](https://meta.discourse.org/u/purldator)
#### Post date: [30 Marzo 2015, 5:48am UTC](https://meta.discourse.org/t/files-download-manager-for-discourse/26887/20 "2015-03-30T05:48:18Z")

</div>

The concept I brought up originally wasn’t about strangers signing up and signing in to download, but for users already signed-in not able to see files intended for restricted categories or direct messages they have no regular access to.

But I agree with @codinghorror and @elberet on forcing sign-ups to download content. I’ve done it, they’ve done it, others have too: we will make a dummy account and leave once we get the download we wanted, or simply look for it elsewhere. I’ve even used fake spam-catching email addresses to do that then offer the account as a share account so others don’t have to make their own dummy accounts. That is why [bugmenot](http://bugmenot.com/) exists.

Except my original concern: regular users accessing restricted, private (direct message) or staff-only content (files) IF they have a direct link and are logged in.

[Pagina seguente](https://meta.discourse.org/t/files-download-manager-for-discourse/26887.md?page=2)
