Click here to Skip to main content
16,022,192 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all:

I have some images in my aspx. At design I can see them. But when running the page they are they not shown.

I tried deleting the cache, uninstalled the Microsoft Defender. Doesn't work

I run the pages in Edge, Chrome, Firefox and Opera. All of they have the same problem: the imgages are not shown

I saw my Edge browser in inprivate. The images are not shown.

What else can I do? Why are they not shown?

<%@ Page EnableSessionState="false" EnableViewState="false" CodeFile="default.aspx.vb" Inherits="codigo" %>
<!DOCTYPE html>
<html>
    <head>
        <title>Vidaalegre</title>
    </head>
    <body ID="bdcuerpo" style="background-color:#F8F361" runat="server">
        <center><img src="Imagenes/Banner_Vidaalegre.gif" alt="Banner Vidaalegre" title="Banner Vidaalegre" height="68" width="468"/>
     <br /><asp:Label ID="lblvidaalegre" runat="server" />
            <p><a id="aespanol" runat="server" ><img id="imgespanol" src="Imagenes/espanol.gif" height="32" width="32" border="0" runat="server"/></a>
                <a id="aingles" runat="server"><img id="imgingles" src="Imagenes/ingles.gif" height="32" width="32" runat="server"/></a>
                <a id="afrances" runat="server" ><img id="imgfrances" src="Imagenes/frances.gif" height="32" width="32" runat="server"/></a>
                <a id="aportugues" runat="server" ><img id="imgportugues" src="Imagenes/portugues.gif" height="32" width="32" runat="server"/></a></p></center>
                    <center><asp:HyperLink id="hlnkvidasolidaria" runat="server" />   <asp:HyperLink id="hlnktiempolibre" runat="server" />
            <br /><asp:HyperLink id="hlnklibrecomercio" runat="server" />   <asp:HyperLink id="hlnkseccionagradecimiento" runat="server" />
        </center>
    </body>
</html>    


Thanks in advance for your help.

What I have tried:

I tried deleting the cache, uninstalled the Microsoft Defender.
Posted
Updated 9-Oct-24 7:21am
v4
Comments
0x01AA 9-Oct-24 13:38pm    
Most probably the path is wrong/does not contain the images in the deployed version?
Richard Deeming 10-Oct-24 3:58am    
Assuming the Imagenes folder is in the root of your application, you could try using app-relative paths:
<img id="imgespanol" src="~/Imagenes/espanol.gif" height="32" width="32" border="0" runat="server"/>
Member 12122979 10-Oct-24 5:02am    
No, putting the ~ didn't work. I think that if it work at design time it is because the image is read.

I don't know what to do. I remember that when I had my previous laptop it worked well. I think it is because the configuration or allowancess. But don't know how to proceed.

Any ideas about what to do?
Member 12122979 10-Oct-24 5:06am    
I think it is the configuration because my css either doesn't work. But where to look for?
[no name] 10-Oct-24 7:57am    
It definitely sounds like your files are not stored in the correct place on the server.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900