Github - ( Image formation Issue )

107 views
Skip to first unread message

Sakshi jain

unread,
Jun 14, 2021, 12:15:00 PM6/14/21
to django...@googlegroups.com
Hello team, 
I'm  Er. Sakshi jain 

I'm trying to design simple E-commerce website without using any database , 

When I trying to upload my website on my github account in my website image is not completely shown 



Plz anyone help me ..


Thank you 



Nikeet NA

unread,
Jun 14, 2021, 1:32:09 PM6/14/21
to Django users
Move those images to static folder then add then with static tag. Do upload the static folder to on your server.

Sakshi jain

unread,
Jun 15, 2021, 12:30:02 AM6/15/21
to django...@googlegroups.com
warning: could not open directory 'AppData/Local/Application Data/': Permission denied
warning: could not open directory 'AppData/Local/History/': Permission denied
warning: could not open directory 'AppData/Local/Microsoft/Windows/INetCache/Content.IE5/': Permission denied
warning: could not open directory 'AppData/Local/Microsoft/Windows/INetCache/Low/Content.IE5/': Permission denied
warning: could not open directory 'AppData/Local/Microsoft/Windows/Temporary Internet Files/': Permission denied
warning: could not open directory 'AppData/Local/Temporary Internet Files/': Permission denied
warning: could not open directory 'Application Data/': Permission denied
warning: could not open directory 'Cookies/': Permission denied
warning: could not open directory 'Documents/My Music/': Permission denied
warning: could not open directory 'Documents/My Pictures/': Permission denied
warning: could not open directory 'Documents/My Videos/': Permission denied
warning: could not open directory 'Local Settings/': Permission denied
warning: could not open directory 'My Documents/': Permission denied
warning: could not open directory 'NetHood/': Permission denied
warning: could not open directory 'PrintHood/': Permission denied
warning: could not open directory 'Recent/': Permission denied
warning: could not open directory 'SendTo/': Permission denied
warning: could not open directory 'Start Menu/': Permission denied
warning: could not open directory 'Templates/': Permission denied
warning: LF will be replaced by CRLF in .bash_history.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in .vscode/argv.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/Adobe/Acrobat/DC/AdobeCMapFnt15.lst.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/Adobe/Acrobat/DC/AdobeCMapFnt21.lst.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/Adobe/Acrobat/DC/AdobeSysFnt15.lst.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/Adobe/Acrobat/DC/AdobeSysFnt21.lst.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/Adobe/Acrobat/DC/Cache/AcroFnt15.lst.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/Adobe/Acrobat/DC/Cache/AcroFnt21.lst.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/ConnectedDevicesPlatform/51cc00f7372e5af2.cdp.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/ConnectedDevicesPlatform/51cc00f7372e5af2.cdpresource.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/ConnectedDevicesPlatform/AAD.952fa1a5-8441-46c8-99d1-712c83fb9dfc.cdp.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/ConnectedDevicesPlatform/CDPGlobalSettings.cdp.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/ConnectedDevicesPlatform/L.HP.cdp.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/ConnectedDevicesPlatform/L.HP.cdpresource.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/Google/Chrome/User Data/AutofillRegex/2021.2.22.1142/data.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/Google/Chrome/User Data/AutofillRegex/2021.2.22.1142/manifest.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/Google/Chrome/User Data/AutofillStates/2020.11.2.164946/manifest.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/Google/Chrome/User Data/CertificateRevocation/6668/LICENSE.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/Google/Chrome/User Data/CertificateRevocation/6668/manifest.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/Google/Chrome/User Data/CertificateRevocation/6669/LICENSE.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/Google/Chrome/User Data/CertificateRevocation/6669/manifest.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in AppData/Local/Google/Chrome/User Data/Crowd Deny/2021.6.7.1141/manifest.json.
The file will have its original line endings in your working directory
error: open("AppData/Local/Google/Chrome/User Data/Default/Cache/data_0"): Permission denied
error: unable to index file 'AppData/Local/Google/Chrome/User Data/Default/Cache/data_0'
fatal: adding files failed


It's a new issue when I try to use git bash upload my img folder on github repo.

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/89d06ac5-b24f-4ace-9024-cb25906a9506n%40googlegroups.com.

Nikeet NA

unread,
Jun 15, 2021, 12:40:57 AM6/15/21
to Django users
The image is it in your project root folder inside static ??

Sakshi jain

unread,
Jun 15, 2021, 12:44:24 AM6/15/21
to django...@googlegroups.com
both ...in project folder I make one new folder and add all image's 

Sakshi jain

unread,
Jun 15, 2021, 12:52:53 AM6/15/21
to django...@googlegroups.com

Nikeet NA

unread,
Jun 15, 2021, 5:01:16 AM6/15/21
to Django users
Can you show me your code for html where you are adding those images. 

Sakshi jain

unread,
Jun 15, 2021, 5:08:38 AM6/15/21
to django...@googlegroups.com

patel dhruvish

unread,
Jun 15, 2021, 8:28:01 AM6/15/21
to django...@googlegroups.com
(1) put down your image in static folder
(2) after u want to add {%load static%} 
 At top of your html page
(3) And last you want to load your image in your html page  with
<img src="{% static 'img_location/example.jpg' %}" alt="image">

I hope it's absolutely work,good luck....

On Mon, Jun 14, 2021, 23:02 Nikeet NA <nik...@exiverlabs.co.in> wrote:

Sakshi jain

unread,
Jun 15, 2021, 8:29:31 AM6/15/21
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages