I have a database which stores the path of an image. When the gridview displays, it uses a template field to show the image instead of the path.
<asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("Image") %>' />
The images in this database may be different to eachother, but I want to resize each picture by a scale factor. Ie. Divide the height by 10, and then the width by 10, then set the height and width to these values. How can I do this for each image in the datagrid?
View Complete Post