How Upload Image Html File To save DataBase

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How Upload Image Html File To save DataBase

kkwaq...@gmail.com
Problem :- I have Create table and add ImageField , i wanna upload_image Front-end  and save database..


html file: But Image Not save 
I am upload using database


u.JPG
models.py

i.JPG

Html Coding file
j.JPG

urls.py

g.JPG




--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7bcbd386-354a-40fd-87dc-2e9d83b11fa6n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: How Upload Image Html File To save DataBase

kkwaq...@gmail.com
I am Using dataBase Sql

On Wed, Sep 16, 2020 at 1:21 AM [hidden email] <[hidden email]> wrote:
Problem :- I have Create table and add ImageField , i wanna upload_image Front-end  and save database..


html file: But Image Not save 
I am upload using database


u.JPG
models.py

i.JPG

Html Coding file
j.JPG

urls.py

g.JPG




--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7bcbd386-354a-40fd-87dc-2e9d83b11fa6n%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B08CAM3piPUv1gzBJq70nBQDF--6oHvEn%2B8YBujk6ADJLssTA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: How Upload Image Html File To save DataBase

kkwaq...@gmail.com
s.JPG

Please Guys Reply Me .....

On Wed, Sep 16, 2020 at 1:36 PM waqar khan <[hidden email]> wrote:
I am Using dataBase Sql

On Wed, Sep 16, 2020 at 1:21 AM [hidden email] <[hidden email]> wrote:
Problem :- I have Create table and add ImageField , i wanna upload_image Front-end  and save database..


html file: But Image Not save 
I am upload using database


u.JPG
models.py

i.JPG

Html Coding file
j.JPG

urls.py

g.JPG




--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7bcbd386-354a-40fd-87dc-2e9d83b11fa6n%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B08CAP%2BArs1iDNwuCHRfk8iEvp8dQZpNRh%3DVneaQa_vcLWZpg%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: How Upload Image Html File To save DataBase

RANGA BHARATH JINKA
Hi,

Store the images in a folder.
Store the images folder path in the database.
Don't store the images directly in db.
It is not a good practice.
Instead use aws for storing images.

Follow this tutorial series.


All the best

On Wed, Sep 16, 2020 at 1:43 PM waqar khan <[hidden email]> wrote:
s.JPG

Please Guys Reply Me .....

On Wed, Sep 16, 2020 at 1:36 PM waqar khan <[hidden email]> wrote:
I am Using dataBase Sql

On Wed, Sep 16, 2020 at 1:21 AM [hidden email] <[hidden email]> wrote:
Problem :- I have Create table and add ImageField , i wanna upload_image Front-end  and save database..


html file: But Image Not save 
I am upload using database


u.JPG
models.py

i.JPG

Html Coding file
j.JPG

urls.py

g.JPG




--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7bcbd386-354a-40fd-87dc-2e9d83b11fa6n%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B08CAP%2BArs1iDNwuCHRfk8iEvp8dQZpNRh%3DVneaQa_vcLWZpg%40mail.gmail.com.


--
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK5m314vcpNU6S0rDdKE%2Bhgvx%3DWuK8JQS%2B2bjZ%2BHL7%3DzhvthtA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: How Upload Image Html File To save DataBase

RANGA BHARATH JINKA
Check django documentation to store images to the folder.

Use upload_to in models.py

You have to update your models.

All the best

On Wed, Sep 16, 2020 at 1:50 PM RANGA BHARATH JINKA <[hidden email]> wrote:
Hi,

Store the images in a folder.
Store the images folder path in the database.
Don't store the images directly in db.
It is not a good practice.
Instead use aws for storing images.

Follow this tutorial series.


All the best

On Wed, Sep 16, 2020 at 1:43 PM waqar khan <[hidden email]> wrote:
s.JPG

Please Guys Reply Me .....

On Wed, Sep 16, 2020 at 1:36 PM waqar khan <[hidden email]> wrote:
I am Using dataBase Sql

On Wed, Sep 16, 2020 at 1:21 AM [hidden email] <[hidden email]> wrote:
Problem :- I have Create table and add ImageField , i wanna upload_image Front-end  and save database..


html file: But Image Not save 
I am upload using database


u.JPG
models.py

i.JPG

Html Coding file
j.JPG

urls.py

g.JPG




--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7bcbd386-354a-40fd-87dc-2e9d83b11fa6n%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B08CAP%2BArs1iDNwuCHRfk8iEvp8dQZpNRh%3DVneaQa_vcLWZpg%40mail.gmail.com.


--
Thanks and Regards

J. Ranga Bharath
cell: 9110334114


--
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK5m314eFb6mVjGV7n%3DPvFhxTE%3Dhi44XRQJB%2BvNg9%3D4D6nRr6g%40mail.gmail.com.