Server.MapPath
returns the physical path of the file
on the server.
For example: C:\inetpub\wwwroot\UserDP\14.jpeg
Unless the client has an image in
exactly the same path on their computer, that won't work.
(Hint: It works when you browse to the URL directly because you're testing the site locally. The server and client are the same computer.)
To display an image in a web application, you need to use either an absolute path, a relative path, or an app-relative path. For example, assuming the
UserDP
folder is in the root of your site, use:
Image1.ImageUrl = "~/UserDP/14.jpeg";