Jump to content

Recommended Posts

Guest Guest_Sandman
Posted

Why when I put a pic up does it want me to enter a password to view it, my link to the my html directs it to the correct folder.

Dan

Guest Guest_Sandman
Posted

its like it wont give access or something i dont know, i put the pic in the public folder and changed the html to direct it to that and it worked for some reason.

Dan

Posted

Are you talking about adding a pic on this bulleting board or on your web page?

 

Can you post a link to the page/post that is malfunctioning?

Posted

Sorry, still not much info for us to go on. I'm going to guess.

 

Are you are trying to put your pics into a subdirectory and display that image on the home page such as:

 

All my pictures are in a folder in public_html/images/

I want to see mypic.jpg on the index.html page

 

If this scenario is close, then there are two big things to watch out for:

1. Case Sensitivity - your filenames and folder name is case sensitive, check the capitalization of your img src= statement.

2. The subdirectory (folder) that you put your pics in should be a single word, no spaces. Like images or pics or mystuff. If the folder name has spaces in it (two or more words) then the URL translates differently (with a %20 inserted in the URL).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...