I have an image of about 1200 x 400 size (if I remember correctly) and about 50 KB in size. I use the image in the header for the website, but I compress the height of the image to 100 pixels so that it matches my header.
<asp:Image ID="imgLogo" runat="server" ImageUrl="~/Images/AFact.jpg" Height="100px" />
Is this a bad practice? Does this mean that the image is fully loaded to the client, and then the client’s browser has to spend the processor to resize it? Will it be better to scale the image to the height I want to use using Photoshop?
Jagd source
share