Avatar of jampost
jampost
Flag for United States of America asked on

Images not displaying on websites.

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
Web DevelopmentSoftware* Visual Studio 2012HTMLGolang

Avatar of undefined
Last Comment
jampost

8/22/2022 - Mon
Ryan Chong

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 Favor

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.
jampost

ASKER
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.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
jampost

ASKER
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" />
jampost

ASKER
Still waiting to see the changes...
SOLUTION
Ryan Chong

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
David Favor

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
jampost

ASKER
Thank you Ryan and David. I appreciate your help. It appears to be working now.  --  Joe
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.