Community
    • Login

    Can not see images when opening in browser

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 4 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • coleg55C
      coleg55
      last edited by

      Here is my source code, everytime I open in the web page option under file, It does not show up, and only does under my alt name. Is there a way to make it show up? checked the file name and everything, just does not come up, but it does if I download it for some reason.

      <!DOCTYPE html>
      <html lang="EN">
      
      <head>
          <meta charset="UTF-8">
          <title>Cole's Homepage</title>
      </head>
      
      
      <body>
          <h1>Cole's Web Page</h1>
      
          <img src="Dog.png" alt="Coles Photo"><br>
          
          Cole is doing this webpage<br>
          He is finishing his associates of science and plans<br>
          on being a software engineer.<br>
          Cole loves to ski at bridger bowl, and go on <br>
          bike rides and walks with his girlfriend and dog.<br>
      	In his free time he enjoy playing some video games<br>
      	and just hanging out. Lately the Sopranos has been<br> 
      	a favorite show.<br>
      	Mostly into the technical side, but does not mind<br>
      	working on the design portion of websites.<br>
      
      
      
          <p>
          <a href="https://www.google.com/">Google</a>   <br>
          <a href="https://www.cs.montana.edu">CS Homepage</a>   <br>
          <a href="https://bridgerbowl.com/">Bridger Bowl</a>   <br>
          </p>
      </body>
      
      
      
      
      </html>
      
      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @coleg55
        last edited by

        @coleg55 ,

        Are you talking about Notepad++'s View > View Current File In… menu options? If so, you will have to define “it does not show up”, and tell us which browser you are opening it in.

        If you mean that you uploaded your file to your webserver, and something is wrong between the webserver and the browser, or that something is wrong with your HTML contents so that it doesn’t render as you expect it to, then the problem has nothing to do with Notepad++, and is off topic here.

        coleg55C 1 Reply Last reply Reply Quote 1
        • coleg55C
          coleg55 @PeterJones
          last edited by coleg55

          @peterjones Thanks for the response. When I mean it doesn’t show up when I click open in default viewer, which is fire fox. I have tried edge as well as chrome and no luck.

          When it doesn’t show, it only shows the alt version, in my case “coles picture” I will right click that alt portion and will come to a page that says my file does not exist

          PeterJonesP Terry RT Lycan ThropeL 3 Replies Last reply Reply Quote 0
          • PeterJonesP
            PeterJones @coleg55
            last edited by

            @coleg55 ,

            Notepad++ does nothing with images. You are having an HTML problem (or a problem with where your images are relative to your HTML). This is not a question for a Notepad++ forum, because you would have the same problem no matter what editor you used to type your HTML; please ask for help elsewhere, in an HTML forum.

            1 Reply Last reply Reply Quote 1
            • Terry RT
              Terry R @coleg55
              last edited by

              @coleg55 said in Can not see images when opening in browser:

              I will right click that alt portion and will come to a page that says my file does not exist

              Your question relates to html code, not an issue with Notepad++.

              That said, the error you got was specific and likely correct. That file Dog.png" does not exist. Maybe you have a file called “dog.png” as html code can be case sensitive depending on the environment it’s running on.

              Terry

              1 Reply Last reply Reply Quote 0
              • Lycan ThropeL
                Lycan Thrope @coleg55
                last edited by

                @coleg55 said in Can not see images when opening in browser:

                I will right click that alt portion and will come to a page that says my file does not exist

                In addition to what has been said by Peter and Terry, you also may not have included the full path to that picture, hence, as the document only looks in it’s current directory and if it’s not there, it doesn’t exist, but as the others have stated, that’s a problem of your HTML coding, it has nothing to do with Notepad++.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors