Open espenak opened 9 years ago
Jørgen (Bulthuis) thinks that providing something like this will mean a lot for the users of lokalt.net.
@vegarang, can you start working on an AngularJS UI for this?
cloudinary
branch for this work.django_cradmin/static/
.ArchiveImageVariant
model.int
.@vegarang, you should take a look at:
Altso remember that we will already depend on jQuery, so we do not care if a cropping directive uses that.
One more thing! Do not bother with the 3 buttons when no image is selected - use the same method as we use in the current image archive widget (open the image archive browser).
We should create an image uploader that can crop and apply simple filters to images in the image archive. I propose to upload images just like we do today (we may want to enhance the UI a bit), and then apply cropping and filtering after the image has been uploaded. The result of the cropping and filters should be stored as an ArchiveImageVariant. An ArchiveImageVariant should not actually store the changed image, it should just store the attributes required to re-make the variant from the original image.
I think the widget could look something like this when no image is selected:
And something like this when an image is uploaded/selected: