Adding a picture/link to web site

Greetings!
I am attempting to add a picture which will link to another site on my site, www.coyotemoonaz.com. I would like this picture to be placed on the left pane close to the top of the page. no programing experience so any help is appreciated.
haddad05Asked:
Who is Participating?
 
Ryan ChongCommented:
>>I would like this picture to be placed on the left pane close to the top of the page. no programing experience so any help is appreciated.

You can link to that website's image remotely in your HTML, what you need is just provide it with a full path, like:

in your local page, add:

<img src="http://www.valwest.com/coyotemoonaz/images/coyotemoonmap.bmp" border="0" height="353" width="463" />

hope this make sense to you..
0
 
Jason C. LevineNo oneCommented:
Hi haddad,

Which picture?  The left pane of what?  The question is a little hard to follow.
0
 
haddad05Author Commented:
The picture is not up there yet...I would like it on the left side above the menu and below the title...
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
Jason C. LevineNo oneCommented:
Okay, the menu is an image too.  So place this new image above the menu and that should do what you want.  To place it, go into source code view and look for this line:

<td width="177"><img src="a_data/cmmenu2.gif" usemap="#Map" border="0" height="150" width="150" />

Click between the two tags, so the cursor is blinking between the ><

Now switch back to design view and without clicking on the page, do Insert | Image from the menu.  Select the image from the dialog.  

Done.
0
 
haddad05Author Commented:
...ok did that. seemed to have worked except when visiting the site there is no picture there.
0
 
Jason C. LevineNo oneCommented:
Now you have to upload all the pages and the image files to your web server.  Dreamweaver works locally, unless you have the local and remote servers set to be the same machine.
0
 
haddad05Author Commented:
Ryancys,
I followed your suggestion and it worked only on the local machine...
0
 
Ryan ChongCommented:
it should works since it's a fullpath url, i'm afraid your server got some limitation/setting to prevent you from viewing the images...
0
 
haddad05Author Commented:
ok it worked...now how can i get that pic to link to another site when clicked on?
0
 
Ryan ChongCommented:
>>now how can i get that pic to link to another site when clicked on?
you need to add and specify a hyperlink, like:

<a href="http://www.yahoo.com" target="_blank"><img src="http://www.valwest.com/coyotemoonaz/images/coyotemoonmap.bmp" border="0" height="353" width="463" /></a>


if you want to specify the opened window's size, you can try use javascript instead, like:

function openInCenter(theURL, myw, myh) {
      var X = ((screen.width/2)-(myw/2));
      var Y = ((screen.height/2)-(myh/2));      
      var myparams = "innerWidth=" + myw + ",innerHeight=" + myh + ",width=" + myw + ",height=" + myh + ",left=" + X + ",top=" + Y + ",screenX=" + X + ",screenY=" + Y;
      myparams += "alwaysLowered=0,alwaysRaised=1,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,noresize=1,,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=1";      
      mypopup = window.open(theURL,"myPopupName",myparams);
}


<a href="http://www.yahoo.com" onClick="openInCenter(this.href, 840, 600);return false;"><img src="http://www.valwest.com/coyotemoonaz/images/coyotemoonmap.bmp" border="0" height="353" width="463" /></a>


hope this helps
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.