negreteo
asked on
Gif Image does not animate in aspx page
Hi,
I have a gif image in a ASP.net C# page that does not animate when page is loaded in IE. How can I solve this issue?
Thanks in advance
I have a gif image in a ASP.net C# page that does not animate when page is loaded in IE. How can I solve this issue?
Thanks in advance
<asp:Image id="Image1" runat="server" ImageUrl="loading16.gif"></asp:Image>
ASKER
I am developing in VS 2003, the image is shown but it does not animate
if the image shows but is not animated then either the file is not animated or the browser cannot display it properly.
how did you create the animated gif, and have you seen it animating outside of the aspx page?
how did you create the animated gif, and have you seen it animating outside of the aspx page?
ASKER
If I open the image using IE it animates but when I run my solution from VS and the page is displayed the image does not animate
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
I ask this, because when you use <asp:image> server control, the ImageUrl property requires that the images be loaded as part of your project (in vs 2008).
That is, create an images folder (the name can be anything) and store the file in that folder. Once that is done use this syntax
<asp:image id="Image1" runat="server" ImageUrl="~/image_folder_n