S
savvy
I want to create a Thumbnail Image from a given large Image and bind
it to the Datalist with the datasource being Database. I followed this
link given below
Creating Thumbnail Images on the fly with ASP.Net
http://west-wind.com/weblog/posts/283.aspx
according to link given, if we change the parameters of this link we
can resize the image
http://www.west-wind.com/wwStore/de...px?image=images/WebStoreLogo_big.jpg&size=400
So, I created CreateThumbnail.aspx which has the same code and if i use
the link as
http://localhost/myproject/CreateThumbnail.aspx?image=images/WebStoreLogo_big.jpg&size=400
which is working fine.
But I tried something like this within my datalist keeping the size as
a constant value in the Createthumbnail.aspx , and its not working
<ItemTemplate>
<img alt='<%# Eval("ProdTitle") %>' src='CreateThumbNail.aspx?image=<%#
Eval("Prodimgpath") %>' style="border: 0">
</ItemTemplate>
Can anyone help me out where i'm going wrong
Thanks in advance for your help and time
it to the Datalist with the datasource being Database. I followed this
link given below
Creating Thumbnail Images on the fly with ASP.Net
http://west-wind.com/weblog/posts/283.aspx
according to link given, if we change the parameters of this link we
can resize the image
http://www.west-wind.com/wwStore/de...px?image=images/WebStoreLogo_big.jpg&size=400
So, I created CreateThumbnail.aspx which has the same code and if i use
the link as
http://localhost/myproject/CreateThumbnail.aspx?image=images/WebStoreLogo_big.jpg&size=400
which is working fine.
But I tried something like this within my datalist keeping the size as
a constant value in the Createthumbnail.aspx , and its not working
<ItemTemplate>
<img alt='<%# Eval("ProdTitle") %>' src='CreateThumbNail.aspx?image=<%#
Eval("Prodimgpath") %>' style="border: 0">
</ItemTemplate>
Can anyone help me out where i'm going wrong
Thanks in advance for your help and time