elixirlabsinc / endslaverynow

Creating the End Slavery Now project
2 stars 0 forks source link

Handle images better #30

Open pedanticantic opened 5 years ago

pedanticantic commented 5 years ago

Currently, the user selects an image when adding/editing a record, and internally it's held as a file (various attributes), but after save, the image is just a string (representing the URL).

I wonder if we should have 2 objects to represent an image - one for the "file" version and one for the "URL" version. It would make it easy to distinguish between them, etc.