filepicker / filepicker-django

A django plugin to make integrating with Filepicker.io even easier
Other
93 stars 29 forks source link

filepicker and S3 #30

Closed trikosuave closed 10 years ago

trikosuave commented 10 years ago

(slightly different than #29 )

We currently have our image model as models.FPFileField. The issue we ran into is when people upload via dropbox and then move/delete their image in dropbox, it disappears from our site. Someone at Ink told us to setup S3 and then use the pickAndStore method to place those files in S3 so they are no longer links to Dropbox.

The response to #29 is to use FPUrlField which is in forms not models. It is implied that FPFileField store the image locally and remotely while FPUrlField just stores remotely(S3). I don't think any of the images are actually being stored locally in our case as they are all filepicker links (which in the case of dropbox are merely references).

I'm sorry if I sound clueless as I am trying to wrap my head around filepicker and it's implementation at our site. I basically need to know, once I setup our FilePicker account to use S3, how to emulate the pickAndStore functionality so all new pictures picked by customers are stored at S3 and the links stay good regardless of what happens to the original image.

Thanks!

trikosuave commented 10 years ago

Disregard. Thanks.