When the user uploads the image, FileName contains the user's original name, which includes the path from the user's computer. Upload an image and make sure it's displayed in the page. File paths are like an address of file for a web browser. string htmlForImages = String .Empty; for ( int i = 0; i < dtImages.rows.Count; i++) htmlForImages += "<img src="" + dtImages.Rows [i] [0].ToString () + "" />" ; ImagesDiv.InnerHtml = htmlForImages; This solution works for every case in which you can't tell exactly how many images there. Connect and share knowledge within a single location that is structured and easy to search. Dynamic images enable different image files to be displayed. By using tooltip with CSS, you may style it quite beautifully. This may be used even to add an attribute if it does not exist. You see that a new file has been added whose file name looks something like this:: 45ea4527-7ddd-4965-b9ca-c6444982b342_MyPhoto.png, This is the image that you uploaded with a GUID prefixed to the name. In this example when a user clicks on the button then the element is created. <script type="text/javascript"> document.getElementById ("myImage").src = "image2.jpg"; </script> Introducing jQuery. How do I use the pop up box in WordPress? In this option, you will specify image source based at thecurrent directory. This results in a relative path like this: The path is stored in variable named imagePath that you'll need later in the page. The image can be resized and repositioned using the mouse, manually changing the values in the properties window or by changing the values in the source. How do you get out of a corner when plotting yourself into a corner. The downside, of course, is that GUIDs aren't particularly user friendly, so they tend to be used when the name is used only in code. Native Apps Which One Should You Choose. How do I drag and drop images into WordPress? How can I set the default value for an HTML