locked
Simply insert image from file with HTML

    Question

  • I feel very stupid by asking this question... I can't insert an image from my own computer, only if I upload it and then link the code, I can see it in my app debugging. I tried to save the image in the same folder as default.html (I'm working with Visual Studio Express 2012) and in the image folder, but nothing really works. 

    <div id="div01"><img src="\images\hand.png" border="0" alt=""></div>

    What's the problem?

    Thursday, February 07, 2013 2:55 PM

Answers

  • You should add the image to your project, using the menus in VS. One way is to right click your project or a folder within it, and select "Add existing item." Then the item will be built/deployed with your project.
    • Marked as answer by Potices Thursday, February 07, 2013 4:13 PM
    Thursday, February 07, 2013 4:04 PM