appressoas / django_cradmin

An admin UI for Django that is tailored for UIs where a user plays a single role at any time.
BSD 3-Clause "New" or "Revised" License
14 stars 1 forks source link

More powerful image uploader/editor #29

Open espenak opened 9 years ago

espenak commented 9 years ago

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:

image editor no image selected

And something like this when an image is uploaded/selected:

image editor

apparator commented 9 years ago

Jørgen (Bulthuis) thinks that providing something like this will mean a lot for the users of lokalt.net.

espenak commented 9 years ago

@vegarang, can you start working on an AngularJS UI for this?

Things to consider:

espenak commented 9 years ago

Libraries

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

espenak commented 9 years ago

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