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.
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.