Problems with images in firefox.
Problems with images in firefox.
Author
Discussion

hazzaboy69

Original Poster:

257 posts

260 months

Wednesday 21st February 2007
quotequote all
Hi as a follow up to my question of hosting earlier. I have now sorted that out and its being processed. I have quickly knocked up a site and it all works in IE but when I open it in firefox no images display, If I right click where the image should and click view image then it takes me to the image and runs it. This seems strange to me maybe someone can help.
I have heard reference to making the image tag absolute? dont know how to do that though.

Can you tell im new to all this HTMl malarkey?

zaktoo

805 posts

238 months

Wednesday 21st February 2007
quotequote all
url?

zaktoo

805 posts

238 months

Wednesday 21st February 2007
quotequote all
cut the "C:" bit out of the img src bits

It's incorrect even if you wanted to make it absolute. Leave it relative and keep images in a subdirectory of the directory in which the html page is and reference them img src="images/nameofimage.jpg". Also, remember that spaces need to be encoded as %20 - or "+" - so "name of image.jpg" should be referenced "named%20of%20image.jpg" or "name+of+image.jpg". Stick with %20 though, it's more likely to work over more browsers...

HTH

Ciao

Zak

hazzaboy69

Original Poster:

257 posts

260 months

Wednesday 21st February 2007
quotequote all
Thanks for that I can now see where I was going wrong putting the whole path in and also leaving out the %20 in the space.

Cheers Harry

Scraggles

7,619 posts

255 months

Thursday 22nd February 2007
quotequote all
upload it anyway and then clear the cache, u can click on the links and any that point to c:..... need editing

Lord Grover

34,189 posts

243 months

Thursday 22nd February 2007
quotequote all
Better yet, rename the files without spaces... scratchchin

eccles

14,408 posts

253 months

Friday 23rd February 2007
quotequote all
sorry to high jack the thread, but this happens to me quite a lot. i use fire fox, open up a thread with picture, and often quite a few won't open, so i have to right click and ' view image' to see the picture.... any idea why this is? (its not just on here, other sites as well)