Link to home
Create AccountLog in
ASP

ASP

--

Questions

--

Followers

Top Experts

Avatar of InnerChild
InnerChild

Include image not showing
I have been having this problem off and on for a while now.  I will build a part of a website to include and for a while it will work and then bang one of the images will not longer show up.  For a while it seamed that the only way to fix it was to rebuild the whole include file but I was wonder if there was something I was missing.  I am new to asp and I am using dreamweaverMX to do my include.  I will post the code and maybe that will help.

****File to be included*********
<table width="215"
    height="395" border="0" cellpadding="0" cellspacing="0" dwcopytype="CopyTableRow">
  <tr>
    <td height="22"><img src="images/spacer.gif" width="20" height="20"></td>
    <td height="22"></td>
    <td height="22"><img src="images/spacer.gif" width="20" height="20"></td>
  </tr>
  <tr>
    <td height="129"></td>
    <td align="right" height="129">For full access to our Client Zone, you must
      be a Diversified client or an client payrolled through PEO Canada.
      <p>All users must &#147;Create an Account&#148; prior to logging in for
        the first time. Please have your client number ready to validate your
        identity.</td>
    <td height="129"></td>
  </tr>
  <tr>
    <td height="14"></td>
    <td height="14"></td>
    <td height="14"></td>
  </tr>
  <tr>
    <td></td>
    <td background="images/bg-login.gif"><p align="center"> <a href="mailto:jeffw@peocanada.com" class="linku">Contact
        PEO Canada</a><a HREF="javascript:popUp('https://servicecenter.verisign.com/cgi-bin/Xquery.exe?Template=authCertByIssuer&remote_host=https://digitalid.soltrus.com/secureServerFr/cgi-bin/haydn.exe&form_file=fdf/authCertByIssuer.fdf&issuerSerial=35798d5cd68c622ae4dc84ec290f2b6b')" class="linku"><br>
        </a></td>
    <td></td>
  </tr>
  <tr>
    <td height="14"></td>
    <td align="right" height="14"></td>
    <td height="14"></td>
  </tr>
  <tr>
    <td height="52"></td>
    <td align="center" height="52"><a href="http://www.diversifiedstaffing.com/"><img src="images/logo-diversifiedsm.gif" hspace="10" vspace="10" border="0" alt="Diversified Staffing Services" WIDTH="155" HEIGHT="30"></a></td>
    <td height="52"></td>
  </tr>
  <tr>
    <td rowspan="3" height="141"></td>
    <td align="center" height="32"><a href="http://www.peocanada.com/"><img src="images/logo-peosm.gif" border="0" alt="PEO Canada" WIDTH="155" HEIGHT="30"></a>&nbsp;&nbsp;&nbsp;</td>
    <td rowspan="3" height="141"></td>
  </tr>
  <tr>
    <td align="center" height="45"><a href="http://www.wardvinge.com/"><img src="images/logo-wardvingesm.gif" alt="Ward Vinge &amp; Associates" WIDTH="155" HEIGHT="30" border="0"></a></td>
  </tr>


******This is the image that is not showing up*********

  <tr>
    <td align="center" height="37"><a href="http://www.financialstaffing.ca/"><img src="images/logo-financialsm.jpg" alt="Financial Staffing Services" WIDTH="170" HEIGHT="35" border="0"></a></td>
  </tr>
</table>




and this is the code that I use to include it.

        <tr>
          <td colspan="3"> <!-- #include file="include/leftpanel.asp" --> </td>
        </tr>


Thanks

LAter

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of HypostatizeHypostatize

What file type is the file that contains the include?  .asp?

Depending on your directory structure, you should change all your images/foo.gifs to /images/foo.gif

it will look for the images directory in the same directory your parent asp page is in.

Avatar of InnerChildInnerChild

ASKER

well I check with somebosy and they can see it but I can't.  This is the link.
http://www.dot-ya.com/client/perks2.asp

I have used the latest version if IE and Netscape 7.  On the left side near the bottom there are 3 image links.  There should be a forth but my browser doesn't seem to show it.  Any ideas?

LAter

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


under the WARD VINGE there should be a Financial Staffing image but I see nothing.


right, based on your code, it's looking for images in the /client/images directory, if you set it my way it will look for it in the /images directory

Your image is located at http://www.dot-ya.com/client/images/logo-financialsm.jpg

so if I were you, I'd make all your image listings to

/client/images/IMAGENAME.jpg

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


I've tried both ways and it still doesn't show.  I get no box with a little red square and the alt tag showing.  If I view the code I see the link but the image code is missing.  I have Norton firewall and it is disabled but I can't think of anything else to try.

LAter

sorry I was disbeling virus protection and not the firewall.  If I disable the firewall I can see the image.  Why can I see everything else with the firewall on but that one link and with the firewall off I can see everything?

I have to have the firewall running cause I keep getting these anoying pop us.....grrrrrr

LAter

Are you trying to access it through a local machine name?  http://localhost

or through the valid domain name?

If all else fails, you can code it as  <img src = "http://<%=Request.ServerVariables("SERVER_NAME")/client/images/logo-financialsm.jpg">

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


sorry that might not have made alot of scene.  I am a little flustered about this.  The forth image cannot be viewed with the firewall on.  There is no indication that there is even a image there if it is on.  So what I am curious about now is why are all the other images and links that are in that include file visible with a active firewall while that one is for lack of a better explanation...removed?


LAter

a valid domain name.

ASKER CERTIFIED SOLUTION
Avatar of thunderchickenthunderchicken

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

yeah what I have done in the past is take the same image and rename it and sometimes that will work.  I thought it might be a odd problem but was wondering if it wa something somebody else has heard of.  I really can't remove the firewal cause I'll get burried in pop ups.

Its ok this questions turned out to more of a quest for information then anything.  Please keep this question in mind if you hear anything else similar please.

LAter

Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Maybe the firewall spotted a bad word in there or something.  You may have to change it to jesus.jpg or something.  Good luck and thanks.

not sure how financialsm.jpg is a bad word ;)  lol  


LAter
ASP

ASP

--

Questions

--

Followers

Top Experts

Active Server Pages (ASP) is Microsoft’s first server-side engine for dynamic web pages. ASP’s support of the Component Object Model (COM) enables it to access and use compiled libraries such as DLLs. It has been superseded by ASP.NET, but will be supported by Internet Information Services (IIS) through at least 2022.