growstuff icon indicating copy to clipboard operation
growstuff copied to clipboard

Allow direct photo upload

Open Skud opened this issue 10 years ago • 5 comments

I should be able to upload photos directly to the site, rather than having to use Flickr. (But Flickr shouldn't go away. There should just be options.)

I should be able to upload photos anywhere that Flickr is currently used, eg. gardens, harvests, plantings, etc.

When uploading a photo I should be able to choose a license from a dropdown or similar. We should list at least CC-BY, CC-BY-SA, and "all rights reserved". (Those two licenses are compatible with Growstuff's data license, so I'd like to encourage them rather than the ND or NC clauses.)

We should keep an eye on what this will cost us in hosting, and consider whether we want to limit the number of photos that free users can upload (probably in the 100-1000 range).

Skud avatar Dec 12 '14 05:12 Skud

It looks like the Paperclip gem will be a good place to start for this.

cesy avatar Jan 19 '15 17:01 cesy

I want this too!

cobismith avatar Feb 06 '15 05:02 cobismith

Similar work has been done on 3000 Acres, here, if we want to gank the code: https://github.com/3000acres/3000acres/pull/81

(3000 Acres is a sister project to Growstuff, under the same license.)

Skud avatar May 19 '15 23:05 Skud

#807 is fairly hampered by this.

It would be good as well, once the oauth plugins for more providers are done to look at things like:

  • https://developers.google.com/picker/?hl=en
  • https://www.dropbox.com/developers/dropins/chooser/js

... and have the flickr choosing styled in a similar way.

Trello upload I think is pretty much the 'gold standard' for a multiple source upload UI; tucked away under one button but expanding out to get more detailed.

trello_upload

Alternatively, what's offered with html5 file inputs and image limitations, plus a bit of javscript gives us handy thumbnailing support without upload (https://developer.mozilla.org/en/docs/Using_files_from_web_applications) - I believe there's a fair few all in one upload controls, such as https://blueimp.github.io/jQuery-File-Upload/ which greatly enhance the experience as well.

CloCkWeRX avatar Aug 20 '15 05:08 CloCkWeRX

Realistically we want to get the rest of Release 9 live without waiting for this.

cesy avatar Sep 29 '15 11:09 cesy