Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued Products: Article Manager 1:
custome fields with images

 

 


hadota_masreya
New User

Aug 21, 2005, 1:53 AM

Post #1 of 6 (2057 views)
Shortcut
custome fields with images Can't Post

i made a custome pulldown new fields to limit the width and height for images with a two or three diferent sizes but i faced a strange problem

$art_fieldx$ not readable in image caption & image no caption, it didn't show any result but if i put it in any other cell it come with its results,, so what's the problem and how i can resolve this problem or get another solution

thanks


ross
Staff / Moderator


Aug 21, 2005, 10:52 AM

Post #2 of 6 (2051 views)
Shortcut
Re: [hadota_masreya] custome fields with images [In reply to] Can't Post

Hi there.

Thanks for posting and welcome to the board!

Each template cell is setup individually within the program to recognize specific placeholders and in this particular case, the image template cells for an article template aren’t setup to recognize the art_field placeholders.

What you could do is use the caption field specify either the height or width in an image though. Does that sound like it would work? You can just let the page itself scale the image for you based on which field you choose to specify yourself.

Let me know what you think and I can go into more detail on how to set it up Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com


Hire me!
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 Priority Consulting.




hadota_masreya
New User

Aug 22, 2005, 11:43 PM

Post #3 of 6 (2039 views)
Shortcut
Re: [ross] custome fields with images [In reply to] Can't Post

Ross, thanks alot for your reply but please i need to place my own diffrent sizes for images, so is there any method to make the art_filed work in the image (caption, no caption) cell template ??!!


ross
Staff / Moderator


Aug 23, 2005, 3:30 PM

Post #4 of 6 (2028 views)
Shortcut
Re: [hadota_masreya] custome fields with images [In reply to] Can't Post

Hi again.

Thanks for getting back to me Smile.

I am still looking into other alternatives for you, but in the meantime, my suggestion might actually work for you. By typing in the desired width into an image’s caption box, you’ll be able to use the $caption$ placeholder on your templates to control the images width. You could also switch it so that the $caption$ placeholder becomes the images height.

Do you think that would work? You are still going to have some control over an image’s dimensions this way.

Let me know what you think Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com


Hire me!
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 Priority Consulting.




kimberleyb
User

Feb 23, 2007, 5:50 AM

Post #5 of 6 (1318 views)
Shortcut
Re: [ross] custome fields with images [In reply to] Can't Post

Ross

With this, can I use the table field in my html to control the height and the caption field to control the width? if so, what - exactly - would I put in the caption field?

Just LOVE playing with this software :)


ChetW
Staff


Feb 24, 2007, 8:06 AM

Post #6 of 6 (1305 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:


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:


Code
<!-- 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


Hire me!
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 Priority Consulting.


 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4