I am pulling images from a database..which means every image has the possibility of being different width and different height
yet..in IE I just dont specify the width and height to the img src element and everything is hunky dorie
however in Netscape everything resizes to the width and height of the first image that loads... i need netscape to resize every image to its original size...not resizing it to the width and height of the first images size?
whats the best way to dynamically resize images in javascript? in order for me to properly resize the image I must first know the original size(w and h) of the image...and make every image as it loads dynamically fill in the width and height properties or the img src element in HTML?
ex: img src="<%=img%> width=<%=getwidth%> height=<%=getheight%>
is this the only option?
HELLLP!
yet..in IE I just dont specify the width and height to the img src element and everything is hunky dorie
however in Netscape everything resizes to the width and height of the first image that loads... i need netscape to resize every image to its original size...not resizing it to the width and height of the first images size?
whats the best way to dynamically resize images in javascript? in order for me to properly resize the image I must first know the original size(w and h) of the image...and make every image as it loads dynamically fill in the width and height properties or the img src element in HTML?
ex: img src="<%=img%> width=<%=getwidth%> height=<%=getheight%>
is this the only option?
HELLLP!