Recently I was programming in ASP.Net, which store images on my server which were called in my web application, I keep the path of images in a table for later recall with:
session ("llama_imagen") = "\\ directory \\ images \\ logo.jpg"
Me.image1.imageUrl = session ("llama_imagen)
In Internet Explorer had no problem to display the picture but in FireFox not visualized, so I had to change it to:
session ("llama_imagen ")="/ directory / images / logo.jpg "
To locate the directory path used:
Sever.MapPath (".")
Link of Sever.MapPath
0 comments:
Post a Comment