Hi Friends,
I have the following code in my image handler-ashx page...but the code seems to be distorting my image..How can i get a samller size image of the actual image but in same resolution...Please let me know...Thank You
public class EmsoursePhotoHandler_Thumbnail : IHttpHandler
{
Guid ImageGid;
public void ProcessRequest(HttpContext context)
{
if (context.Request.QueryString["ImageGid"] == "0")
{
ImageGid = Guid.Empty;
}
else
{
ImageGid = new Guid(context.Request.QueryString["ImageGid"]);
}
string connStr = ConfigurationManager.ConnectionStrings["GIS"].ToString();
using (SqlConnection conn = new SqlConnection(connStr))
{
using (SqlCommand cmd = new SqlCommand("SELECT Image from I ...
Go to the complete details ...