yes you can do just make one anchor tag and call view asynchronously*(using
ajax) *so that particular set of image is shown and then prepare logic for
selecting image and submit the form as you do

On Fri, Mar 19, 2021 at 12:07 PM Kumar Gaurav <gauravcusat1...@gmail.com>
wrote:

> Hi Everyone,
>
> I have a social media kind of portal in Django where user can post an
> image and write something.
> Earlier for image , I used input type=file so that user can select image
> from there system . But for my requirement, now I want the user to to have
> an option to either upload or select images from the given set just like
> selecting some gif's or stickers in social sites. How to do that ?
>
> Please suggest some solution.
>
> Thank You!!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/67527bc4-a297-4161-bad0-0c7450b5c966n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/67527bc4-a297-4161-bad0-0c7450b5c966n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPyMU1%2BCCQ-n-2gVFikwAnas80FMhk53BnaC81gJg6QeQ_zo3Q%40mail.gmail.com.

Reply via email to