<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 /><br /></font><font face="Tahoma, Arial, Sans-Serif" size="2"><b>From</b>: Mu&#241;oz Pe&#241;aloza Carlos Alberto <a href="mailto:cmunozp@indap.cl">cmunozp@indap.cl</a><br /></font><br /><!-- Converted from text/rtf format --> <p><span lang="es"><font face="Arial" size="2">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></p> <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><br /><br /> <p><span lang="es"><font face="Arial" size="2">greetings and thanks</font></span> </p><br />