hi all,

I have 2 Admin pages 'Add Coupons.aspx' and 'Add Products.aspx' in the following directory:-
F:/billadelphia/Admin/Add Coupons.aspx
F:/billadelphia/Admin/Add Products.aspx

Both the above pages are using a master page. In the Master page Iam using a Stylesheet for applying design template to all pages.

In the master page images is displayed from the Image folder which have .jgp images and directory path is:
F:/billadelphia/images

and the Master page is also in the same path
F:/billadelphia/MasterPage.master

<head runat="server">
    <title>Billadelphia's Home</title>
    <link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            [B]<td style="height: 189px; width: 761px;"><img src="images/hdr.jpg" alt="Billadelphia - Authentic Philly Foods" width="760" height="196" /></td>[/B]          </tr>
          .
          .
          .
          .

But in the both admin pages this image is not displaying. Please let me know what should I do?

Thanks

Recommended Answers

All 4 Replies

I guess its looking in F:/billadelphia/Admin/images. Change the img src path to ../images/hdr.jpg . (You can right click the image placeholder and click on properties to check whether its path is correct)

hi Nav33n,

Thanks for reply.

But it is not working, if I changes path of images as ../images.hdr.jpg than this image does not display in master page or in all other pages also.

Hi,
since the pages are not giving any error about not finding the path,i think the url is correct,so check the images are present in the folder

Hi,
since the pages are not giving any error about not finding the path,i think the url is correct,so check the images are present in the folder

Since the images are displayed using <img> tag, it wont give any error. It will just output an empty placeholder. For example,

<html><body><img src="blahblah.jpg" /></body></html>

. This wouldn't give any error but prints an empty image placeholder.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.