Jump to content

Recommended Posts

Posted

Where do I upload my images to so that I wont have to edit my html to say <img src="picture.jpg/image">

I dont want to have to add "/image" to my script. I assume since I have my images uploaded to the image directory that is the reason why. I noticed that why I didnt have "/image" the image didnt show up.

Posted

You shouldn't have to put /image after your jpeg file. I've honestly never seen or heard of doing that before.

 

My answer doesn't resolve your question... but I'm a little befuddled by the question.

Posted

That's what I was thinking. I checked to make sure I spelled the name of the image correctly because it was'nt working. So I added /image behind the image name it it showed up. Im probably doing something wrong that's really simple, I just dont know what. :)

Posted

If you put your images in the same directory (folder) as your file, you do not need any path.

 

I share Jack's confusion.... never seen the syntax you used.

 

Should be this:

 

<img src="image/picture.jpg"> meaning the images are located in a folder entitled 'image'

 

<img src="picture.jpg"> meaning the image is located in the folder that the file calling the image is located.

 

In other words, if you load everything in your root (public_html) you will not need to define a path.

 

Hope this helps.

Posted

I did not say that.... I am a real structure/organization type of guy. I create many directories.

 

In addressing your statement:

 

I dont want to have to add "/image" to my script.
The answer to this question:

 

Ok, so I need to have my images in the public_html folder and not images folder?

 

Would be yes.

Posted

Ideally, you create several directories inside you public_html folder so you give your site some structure. There are other reasons too.

 

It's a good idea to have an images folder inside of public_html where your store all or most of your images.

 

But none of this is necessary... just recommended.

Posted

Remember when I said it was probably something simple? I forgot to change the numbers to 777 for the image in the public_html section but it was changed in the images section! :P That's why it worked in one and not the other. :)

 

dsdemmin was like Mad!!!

:lol: :lol:

Sorry about that.

Posted

dsdemmin never get like Mad!!! ... really never.

 

Many of times I have pulled my hair out over something 'simple' though (as my 'thinning' locks reveal).

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...