
ChetW
Staff

Feb 24, 2007, 8:06 AM
Post #6 of 6
(3033 views)
Shortcut
|
|
Re: [kimberleyb] custome fields with images
[In reply to]
|
Can't Post
|
|
Hi Kimberleyb, If I understand correctly you'd like to have a set height in your template file and use the caption field to control the width, is this correct? If so you could change this section of code:
<!-- templatecell : img_caption --> <table border=0 cellspacing=2 cellpadding=0 width=$img_width$ align=$img_align$> <tr><td><img src="$img_url$" height="$img_height$" width="$img_width$" border=1></td></tr> <tr><td><span class="image_caption">$img_caption$</span></td></tr> </table> <!-- /templatecell : img_caption --> To this:
<!-- templatecell : img_caption --> <table border=0 cellspacing=2 cellpadding=0 width=$img_width$ align=$img_align$> <tr><td><img src="$img_url$" height="MY.SET.HEIGHTpx" width="$img_caption$" border=1></td></tr> </table> <!-- /templatecell : img_caption --> Doing this would mean that your images would no longer use caption text, instead you'd be entering the width value for the image. You'll also want to replace "MY.SET.HEIGHTpx" with your actual default height value. :) Does this help Kimberleyb? If you have any other questions please feel free to ask! Cheers, Chet Woodside - Product Specialist support@interactivetools.com [hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url] Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]
|