Help...

My pictures are "autoresized" to 560 wide but have an unlimited height. 
I am initially displaying these images in a table with a height 
restriction of 200, I also need to limit the width to 300 to fit within 
my table without loosing proportion. Is there a simple routine to "lock" 
a table/cell size and keep my proportion and 560 resize width or only 
limit the height if it is over 200 and the width only if it is over 300? 
 It is probably a very easy routine, but I am not aware of it! It 
currently reads...

<td VALIGN="bottom" width="300" HEIGHT="200" align="center" 
colspan="1" nowrap>
      <cfif CheckImage.recordcount gt 1 and #caption_2# is not "">
        <A href="../../graphics/#BrkrNmbr#/#int(ListingNmb)#-2.jpg">
        <img src="../../graphics/#BrkrNmbr#/#int(ListingNmb)#-2.jpg" 
height="200" align="center"</a>
    <p align="center"><font size="2">#Caption_2#</p><BR>
    <cfelseif CheckImage.recordcount gt 1>
        <A 
href="../../graphics/#BrkrNmbr#/#int(ListingNmb)#-2.jpg"><img 
src="../../graphics/#BrkrNmbr#/#int(ListingNmb)#-2.jpg" height="200" 
align="center"</a>
        <p align="center"><font size="2">Photo 1</p><BR>
      </cfif>
   </td>


Best Regards,
Eric Wesch
www.MarineSource.com
[EMAIL PROTECTED]
(904) 292-1269
fax:(904) 260-5277

______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to