Image Extension png supports

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
bsatyaprasad
Advanced
Advanced
Posts: 10
Joined: Wed Nov 12, 2003 4:53 pm

Image Extension png supports

Post by bsatyaprasad »

I was trying to include image having .png extension, but it was not working, but when i changed it to .gif, it worked. Is this a limitation or there is any different way of doing. Now i am doing as shown below,

aI("image=images/logo.png; name=logo; alt=home; width=125; height=47; border=0;");

Thanks
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Image Extension png supports

Post by John »

You show...

Code: Select all

aI("image=images/logo.png; name=logo; alt=home; width=125; height=47; border=0;");
...which I am taking literally. For one thing, you need to remove the spaces, plus these additional changes...

Code: Select all

aI("image=images/logo.png;imagealt=home;imagewidth=125;imageheight=47;");
As far as I know there is no png limitation.

See http://milonic.com/forum/viewtopic.php?t=2981 for a good reading list.
John
Post Reply