We help IT Professionals succeed at work.

Images not displaying on websites.

137 Views
Last Modified: 2018-12-19
Images not displaying on websites.
2 images side by side. Left image shows – right image does not show. (Same code on both except position)
Same code; replace the right image with another image; same problem. Replace the right image with the left image (the left image to show left and right); but, only the left shows. Combine two images in one using the code for the left image. Nothing shows except the html border.
To see the issue, go to www.jandmmfg.com  (the “about” page) The image is missing, but the html border is showing.

Positioning is done with class .i4
Code for the about web page:


<%@ Page Language="VB" AutoEventWireup="false" CodeFile="About.aspx.vb" Inherits="About" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">

    <link rel="stylesheet" type="text/css" href="Site_Styles.css" />
   
    <title>Consistent reliable quality apparel manufacturing since 1994 at J&M Mfg in Baltimore</title>

    <style type="text/css">



          body {
    background-color: #C0C0C0;
    color: #000000;
    height: 1500px;
    width: 85%;
    margin: 25px 0px 7px auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2em;
    font-weight: normal;
    font-style: italic;
    border-bottom: 10px solid gold;
    }


          a.LinkButton {
     
    font-family: Georgia, "Times New Roman", serif;
    font-size: small;
    text-align: center;
    position: absolute;
    z-index: 1;
    width: 80px;
    right: 1054px;
    border: medium ridge #66CCFF;
    background-color: #4682B4;
    color: #FFFFFF;
    top: 800px;
    left: 325px;
    height: 20px;
 
    }


        .i {
        position: absolute;
        left: 300px;
        top: 25px;
       
       
        }

    .i1 {
        position: absolute;
        left: 550px;
        top: 25px;
       
       
        }

    .i2 {
        position: absolute;
        left: 670px;
        top: 25px;
       
        }

    .i3 {
        font-family: Georgia, "Times New Roman", serif;
        font-size: .5em;
        font-weight: normal;
        font-style: italic;

        }


     .i4 {
        position: absolute;
        left: 325px;
        top: 500px;
        border: solid;
        }

      .i5 {
        position: absolute;
        left: 620px;
        top: 517px;
       
        }

      .i6 {
        position: absolute;
        left: 450px;
        top: 815px;
        border: solid;
        }


         </style>
</head>
<body>
    <form id="form1" runat="server">
   
       

       

            <img src="Images/J_M__Logo_12-14-2018.png" class="i" style="height: 128px; width: 225px" />
            <img src="Images/about.png"class="i1" style="height: 129px; width: 89px" />
            <img src="Images/baltimoremaryland_2.jpg"class="i2"style="height: 129px; width: 225px"/>
       
       
       
       
       
        <div  class="i3" style="position: absolute; top: 170px; left: 325px; width: 550px; height: 326px;">
   
         
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   
         
         We have been here in Baltimore, Maryland since 1994. We love this city, the people, and what we do. Keeping a software agreement going with Gerber Technologies for their latest version of Accumark software for pattern design editing, keeps us current with the design technology.
              <br />
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         Dancewear and sportswear have always been heavy on our WIP schedule. Cutting and sewing for companies that do dye sublimation (generally active wear) has become a growing part of our business. In most cases we turn the orders in one day which makes us very valuable to our customers in the dye sub business; making us part of their team.
              <br />
         &nbsp;&nbsp;&nbsp;&nbsp;
         We have screen printing (large print area), high capasity 8-head Tajima embroidery and heat press. Keeping all of this at the same address is a huge convenience for us and our customers. I attribute our abilities to the incredible talent and people skills of my wife Myong Tillery shown with me below, and the skill and hard work from our great employees whom are definitely the heart of our team. If you need more info, please call. 443-415-0631 Thank you for taking the time to look into J &amp; M Manufacturing, Inc. -- Joe Tillery</p>

         </div>
       
       
         <img src="Images/J&M_2016-Array.png"class="i4" style="height: 280px; width: 550px" />
       
         
       
         <img src="Images/new_tajima.jpg"class="i6" style="height: 260px; width: 260px" />
       
         <div>
         <a href="index.html" class="LinkButton">Home</a>
         </div>

       
         <div>
   
         </div>
         </form>
         </body>
         </html>
screen-shot_12-19-2018.docx
Comment
Watch Question

CERTIFIED EXPERT

Commented:
you're getting an error of:

A potentially dangerous Request.Path value was detected from the client (&).

try rename the image of "J&M_2016-Array.png" by removing the "&" or replace it with other character.
David FavorFractional CTO
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Looks like your HTML is mangled, where image names have no spaces between image + attributes.

Fix all https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.jandmmfg.com%2Fabout.aspx HTML syntax errors + retest.
jampostGeneral Maanager

Author

Commented:
Ryan Chong

I changed the image file name to JM_2016_Array.png saved in VS2012 - uploaded to the verio server. It might take a little while to propagate.
jampostGeneral Maanager

Author

Commented:
David Favor
The new code line for the image is:  (new image name)  --  (Added the alt attribute)
<img src="Images/JM_2016_Array.png"alt="about"class="i4" style="height: 280px; width: 550px" />
jampostGeneral Maanager

Author

Commented:
Still waiting to see the changes...
CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
Fractional CTO
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
jampostGeneral Maanager

Author

Commented:
Thank you Ryan and David. I appreciate your help. It appears to be working now.  --  Joe

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions