picture dont show on my site

March 26, 2011 at 12:51:32
Specs: Windows Vista
I am building my website with kompozer,and when I upload my site my picture dont show on my site.how do I fix this.

See More: picture dont show on my site

Report •


#1
March 26, 2011 at 16:51:49
Do you mean they don't show up in the file manager or are you having trouble linking to them? If the former, please provide the steps you tried. If the latter, please provide your code and the directory hierarchy.

Apologies if I don't respond to your reply immediately. I don't check this site daily, but you're welcome to PM me as a reminder.


Report •

#2
March 26, 2011 at 19:45:10
I am building my website with kompozer,then when I upload the site with filezilla.When I go to the internet to check my site the text is there and only a box where the pictures should be.They show up in the file manager.I dont know how to fix it or what I am doing wrong,I have done this many times before and have never had this problem.

Report •

#3
March 27, 2011 at 15:59:46
Alright, so the files are on your web host. Now you just need to check your HTML image tags and make sure they're properly linking to the images. If you're unsure, please provide your image tag code in <pre ></ pre> tags. Also include a small bit of your site directory so I can see where the images are located in relation to the page you're linking them from. For example:

mysite.com/index.htm
mysite.com/images/image1.png

This sort of problem usually occurs when using relative links instead of direct links. Direct links are preferred most of the time.

Apologies if I don't respond to your reply immediately. I don't check this site daily, but you're welcome to PM me as a reminder.


Report •

Related Solutions

#4
March 28, 2011 at 09:41:27
my website is http://www.effectiveweightlossdiet.... These are affiliate webites I am down loading the pictures from their site and then putting them on my site from the files on my computer.I am new to all of this.I am not familiar with the image tag code.

Report •

#5
March 28, 2011 at 22:44:08
Information on the xHTML image tag can be found here:
http://w3schools.com/tags/tag_img.asp

I see your web page has 3 image placeholders already, so let's work with the first one. I looked at the source code and seen the first image uses a relative link, which I can tell because it starts with ../

../../Documents/Project Folder/effective weight loss diet/index/diet solution banner.jpg

That ../ means the image is located 1 directory higher from the web page calling it, and you have two of those. But because you're calling it from the root directory, those are omitted so the web browser is looking for the image here:

http://www.effectiveweightlossdiet.net/Documents/Project Folder/effective weight loss diet/index/diet solution banner.jpg

Now without knowing your directory hierarchy and what files are located where, I can't accurately fix the link for you, but maybe I can explain so you can fix it yourself.

The root directory is the highest public directory. You as the web master see the root directory as something like /public_html/ or /www/ while everyone else sees effectiveweightlossdiet.net

So, from the root directory, the image placeholder is going into a Documents folder, then Project Folder, then effective weight loss diet folder, and lastly, the index folder looking for the diet solution banner.png folder

I'm guessing the image file isn't located in any sub-directory at all and is just in the root directory with your index file, so you'll probably change the image placeholder's URL to:

http://www.effectiveweightlossdiet.net/diet solution banner.jpg

Or if you wanted to use a relative link, just use:

diet solution banner.jpg

----------
Because this forum has HTML enabled posting, we can't just plainly write HTML code so we have to use the preformatted text tag and tell the forum to interpret the code as regular text and not HTML. Otherwise the forum will try to show my examples as images when I really want you to see the code.

I don't want to overwhelm you, so when you feel comfortable, you should look into using external CSS stylesheets. They will make styling your site easier to manage, quicker to do, and also allow for quicker page loads for your visitors.
http://w3schools.com/css/css_howto.asp

Apologies if I don't respond to your reply immediately. I don't check this site daily, but you're welcome to PM me as a reminder.


Report •


Ask Question