cheriimist
02-05-2003, 01:40 AM
Can someone explain to me why I need to put the http in my images but when I look at other people's site, they have just the image name. When I try it with my images, all I see are red x's on my site.
I want the html code to be look this:
<img src="/image_here.gif">
but I need to put it like this for it to work:
<img src="http://www.sitename.com/image_here.gif">
When you're linking to images that are not on your server (that aren't uploaded to the same place as your site), you need to include the full address.
lefty
02-05-2003, 02:02 AM
Which you really should avoid doing.
cheriimist
02-05-2003, 02:40 AM
I have the image on geocities. It's just when I'm putting the image address into this section of a script, it wouldn't let me put the real address. Instead it want's me to put only the image name.
Here's a section of what the script wants me to put:
background',"#FFFFFF");
messages[1] = new Array('duck2.gif','Here is a duck on a light blue background.',"#DDECFF");
messages[2] = new Array('test.gif','Test description','black','white');
The 'duck2.gif' and the 'test.gif' part is what I'm having problems with. If I put my whole address of the image up, the address part is highlighted yellow and the image wouldn't work.
I didn't mean I was taking an image from someone's site. Sorry if it sounded that way. I was wondering how some people could put the name of the image instead of the address of the image and having it still work.
Ahh, your problem is with geocities. They don't allow direct-linking.