Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE-REQUEST] Custom type field: image, audio, etc... #54

Closed
areski opened this issue May 25, 2020 · 4 comments
Closed

[FEATURE-REQUEST] Custom type field: image, audio, etc... #54

areski opened this issue May 25, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@areski
Copy link
Collaborator

areski commented May 25, 2020

We might want to consider keeping in mind when drafting kaffy for extendability.
For instance in Django-admin I have built this addons years ago to upload audio files https://github.com/areski/django-audiofield

Similar django-admin addons exists to upload images, videos etc...

This type of addons, give some flexibility in building a custom display for the file you are uploading, add some custom javascript.

@areski areski added the enhancement New feature or request label May 25, 2020
@aesmail
Copy link
Owner

aesmail commented May 25, 2020

I couldn't agree more. Already testing something locally for this. Will have a new branch for it this week hopefully.

@areski
Copy link
Collaborator Author

areski commented May 25, 2020

Thanks, take all the time you need!

@aesmail aesmail added this to the v0.9.0 milestone May 28, 2020
@aesmail aesmail closed this as completed Jun 14, 2020
@areski
Copy link
Collaborator Author

areski commented Jun 14, 2020

For future reference, I have an example of custom image field on a test project:

The upload of images created thumbnail and fill up few fields for size/content_type.

With our new ability to overload field, save, update etc... the integration with Kaffy is perfect.

image

Update of image also display the current image:

image

YES! 🚀 🚀 🚀 🚀 🚀

@aesmail
Copy link
Owner

aesmail commented Jun 15, 2020

Haha that is awesome! 🙏🏻💪🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants