<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=788410020-16012006><FONT face=Arial color=#0000ff size=2>ok 
thanks</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Mensaje original-----<BR><B>De:</B> javascript-bounces@LaTech.edu 
  [mailto:javascript-bounces@LaTech.edu]<B>En nombre de </B>Peter 
  Brunone<BR><B>Enviado el:</B> Lunes, 16 de Enero de 2006 14:54<BR><B>Para:</B> 
  javascript@LaTech.edu<BR><B>Asunto:</B> RE: [Javascript] dimensions dinamic 
  image<BR><BR></FONT></DIV><FONT face=arial size=2>If you can use a COM object, 
  then I suggest the free ImageSize control from ServerObjects.com: <BR><BR><A 
  href="http://www.serverobjects.com/products.htm">http://www.serverobjects.com/products.htm</A><BR>(scroll 
  to the bottom)<BR><BR>If you just want the image to display as its normal 
  size, don't put width and height in the tag:<BR><BR>
  <DIV><SPAN class=723413119><FONT face=Arial color=#0000ff size=2>&lt;%do while 
  not rs.eof%&gt;</FONT></SPAN></DIV>
  <DIV><SPAN class=723413119>
  <P><SPAN lang=es><FONT face="Courier New"><FONT size=2><FONT 
  color=#0000c0>&lt;img border=</FONT><FONT color=#000000>"0"</FONT><FONT 
  color=#0000c0> src=</FONT><FONT color=#000000>"</FONT><FONT 
  color=#800000>&lt;%=<SPAN class=723413119>rs("imagen")</SPAN>%&gt;</FONT><FONT 
  color=#000000>"</FONT><FONT 
  color=#0000c0>&gt;</FONT></FONT></FONT></SPAN><BR></SPAN><SPAN 
  class=723413119><FONT face=Arial color=#0000ff><SPAN lang=es><FONT 
  face="Courier New" color=#0000c0><SPAN class=723413119><FONT face=Arial 
  color=#0000ff size=2>&lt;%rs.movenext%&gt;</FONT></SPAN></P></DIV>
  <DIV>
  <DIV><SPAN class=723413119><FONT face=Arial color=#0000ff 
  size=2>&lt;%loop%&gt;</FONT></SPAN></DIV></FONT></SPAN></FONT></SPAN></DIV><BR>Cheers,<BR><BR>Peter<BR><BR></FONT><FONT 
  face="Tahoma, Arial, Sans-Serif" size=2><B>From</B>: Muņoz Peņaloza Carlos 
  Alberto <A href="mailto:cmunozp@indap.cl">cmunozp@indap.cl</A><BR></FONT><BR>
  <DIV><SPAN class=723413119><FONT face=Arial color=#0000ff size=2>hi, i unknow 
  its dimensions!!!, every image have dimensions different</FONT></SPAN></DIV>
  <DIV><SPAN class=723413119><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=723413119><FONT face=Arial color=#0000ff size=2>how i 
  calculate the size of each image?</FONT></SPAN></DIV>
  <DIV><SPAN class=723413119><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=723413119><FONT face=Arial color=#0000ff 
  size=2>ej:</FONT></SPAN></DIV>
  <DIV><SPAN class=723413119><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=723413119><FONT face=Arial color=#0000ff size=2>&lt;%do while 
  not rs.eof%&gt;</FONT></SPAN></DIV>
  <DIV><SPAN class=723413119>
  <P><SPAN lang=es><FONT face="Courier New"><FONT size=2><FONT 
  color=#0000c0>&lt;img border=</FONT><FONT color=#000000>"0"</FONT><FONT 
  color=#0000c0> src=</FONT><FONT color=#000000>"</FONT><FONT 
  color=#800000>&lt;%=<SPAN class=723413119>rs("imagen")</SPAN>%&gt;</FONT><FONT 
  color=#000000>"</FONT><FONT color=#0000c0> width=</FONT>"<SPAN 
  class=723413119>???</SPAN>"<FONT color=#0000c0> height=</FONT>"<SPAN 
  class=723413119>???</SPAN>"<FONT color=#0000c0>&gt;</FONT><FONT 
  color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  </FONT></FONT></FONT></SPAN><BR></SPAN><SPAN class=723413119><FONT face=Arial 
  color=#0000ff><SPAN lang=es><FONT face="Courier New" color=#0000c0><SPAN 
  class=723413119><FONT face=Arial color=#0000ff 
  size=2>&lt;%rs.movenext%&gt;</FONT></SPAN></P></DIV>
  <DIV>
  <DIV><SPAN class=723413119><FONT face=Arial color=#0000ff 
  size=2>&lt;%loop%&gt;</FONT></SPAN></DIV></FONT></SPAN></FONT></SPAN></DIV>
  <DIV><SPAN class=723413119><FONT face="Courier New" color=#000000><SPAN 
  lang=es></SPAN></FONT></SPAN>&nbsp;</DIV>
  <DIV><FONT size=2><FONT face=Tahoma><SPAN class=723413119>[Muņoz Peņaloza 
  Carlos Alberto]&nbsp;&nbsp;</SPAN><BR><B>De:</B> javascript-bounces@LaTech.edu 
  <B>En nombre de </B>Peter Brunone<BR></FONT></FONT><FONT face=arial 
  size=2><BR>&nbsp;&nbsp;&nbsp;How do you get the dimensions of the image?&nbsp; 
  If you find them in your ASP code, then you can put the width and height in 
  just as you would do with the src attribute.&nbsp; Also, if you do not put the 
  dimensions in at all, the image will default to its actual 
  size.<BR><BR>Regards,<BR><BR>Peter<BR><BR></FONT><FONT 
  face="Tahoma, Arial, Sans-Serif" size=2><B>From</B>: Muņoz Peņaloza Carlos 
  Alberto <A href="mailto:cmunozp@indap.cl">cmunozp@indap.cl</A><BR></FONT><SPAN 
  lang=es><FONT face=Arial size=2><BR>Hello to all, I have the following 
  problem, I want to assign the dimensions to him of an image in dinamica form, 
  is to say I have an image and desconosco its dimensions, then I need to assign 
  them to it.&nbsp; </FONT></SPAN></DIV>
  <BLOCKQUOTE>
    <P><SPAN lang=es><FONT face=Arial size=2>ej:</FONT></SPAN> </P>
    <P><SPAN lang=es><FONT face="Courier New" color=#0000c0 size=2>&lt;img 
    border=</FONT><FONT face="Courier New" color=#000000 size=2>"0"</FONT><FONT 
    face="Courier New" color=#0000c0 size=2> src=</FONT><FONT face="Courier New" 
    color=#000000 size=2>"</FONT><FONT face="Courier New" color=#800000 
    size=2>&lt;%=image1%&gt;</FONT><FONT face="Courier New" color=#000000 
    size=2>"</FONT><FONT face="Courier New" color=#0000c0 size=2> 
    width=</FONT><FONT face="Courier New" color=#000000 
    size=2>"this.width"</FONT><FONT face="Courier New" color=#0000c0 size=2> 
    height=</FONT><FONT face="Courier New" color=#000000 
    size=2>"this.height"</FONT><FONT face="Courier New" color=#0000c0 
    size=2>&gt;</FONT><FONT face="Courier New" color=#000000 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    </FONT></SPAN><BR><SPAN lang=es><FONT face="Courier New" color=#0000c0 
    size=2>&lt;img border=</FONT><FONT face="Courier New" color=#000000 
    size=2>"0"</FONT><FONT face="Courier New" color=#0000c0 size=2> 
    src=</FONT><FONT face="Courier New" color=#000000 size=2>"</FONT><FONT 
    face="Courier New" color=#800000 size=2>&lt;%=image2%&gt;</FONT><FONT 
    face="Courier New" color=#000000 size=2>"</FONT><FONT face="Courier New" 
    color=#0000c0 size=2> width=</FONT><FONT face="Courier New" color=#000000 
    size=2>"this.width"</FONT><FONT face="Courier New" color=#0000c0 size=2> 
    height=</FONT><FONT face="Courier New" color=#000000 
    size=2>"this.height"</FONT><FONT face="Courier New" color=#0000c0 
    size=2>&gt;</FONT><FONT face="Courier New" color=#000000 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    </FONT></SPAN><BR><SPAN lang=es><FONT face="Courier New" color=#0000c0 
    size=2>&lt;img border=</FONT><FONT face="Courier New" color=#000000 
    size=2>"0"</FONT><FONT face="Courier New" color=#0000c0 size=2> 
    src=</FONT><FONT face="Courier New" color=#000000 size=2>"</FONT><FONT 
    face="Courier New" color=#800000 size=2>&lt;%=image3%&gt;</FONT><FONT 
    face="Courier New" color=#000000 size=2>"</FONT><FONT face="Courier New" 
    color=#0000c0 size=2> width=</FONT><FONT face="Courier New" color=#000000 
    size=2>"this.width"</FONT><FONT face="Courier New" color=#0000c0 size=2> 
    height=</FONT><FONT face="Courier New" color=#000000 
    size=2>"this.height"</FONT><FONT face="Courier New" color=#0000c0 
    size=2>&gt;</FONT><FONT face="Courier New" color=#000000 
    size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT></SPAN></P>
    <P><SPAN lang=es><FONT face=Arial size=2>greetings and thanks</FONT></SPAN> 
    </P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>