Link to home
Start Free TrialLog in
Avatar of dplinnane
dplinnaneFlag for United States of America

asked on

images in urls

I have a secure site and I want to have a lock icon lock.png  alongside the https how do I do this?

my failed attempt below

<a link rel=secure_lock_icon href=https://www.mysite.net/index_login.php type =image/secure_lock_icon.png >text</a>
Avatar of weed
weed
Flag of United States of America image

Just gotta place the image next to it.

<body>
<a href="links.html">Test link</a>
<img src="secure_lock_icon.png" width="31" height="20">

Or are you talking about putting icons in the URL bar?
http://forums.devshed.com/t1064/s.html
Avatar of dplinnane

ASKER

Yes its in the url, thanks for the link. This is what I got out of it. I place an icon file in my image directory 168_13.ico
Not sure which of the following to use. Neither worked. I also have a link to a css style sheet.

<link rel="shortcut icon" href="https://www.mysite.net/image/168_13.ico">
<LINK REL="icon" HREF="https://www.mysite.net/image/168_13.ico" TYPE="image/ico">


THIS FAILS
<html>    
<title>index.php</title>
<head>
<link rel="shortcut icon" href="http://www.mysite.net/image/168_13.ico">
<link rel="stylesheet" href="<? echo "/style/$_SESSION[style_version_num]"?>" type="text/css">
</head>      

and THIS FAILS


<html>    
<title>index.php</title>
<head>
<LINK REL="icon" HREF="https://www.mysite.net/image/168_13.ico" TYPE="image/ico">
<link rel="stylesheet" href="<? echo "/style/$_SESSION[style_version_num]"?>" type="text/css">
</head>  

when I place this in the url https://www.mysite.net/image/168_13.ico I see the lock so no permissions problems or anything like that.  Any other ideas.
SOLUTION
Avatar of weed
weed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of Daydreams
Daydreams

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial