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

Home: Products: Article Manager 2:
Alt tag with images

 

 


Harvey
User

May 8, 2008, 10:05 PM

Post #1 of 4 (237 views)
Shortcut
Alt tag with images Can't Post

Hi. I'd like to add an alt tag with the images as a box. Are they any tutorials about that?

thanks


MikeB
Staff / Moderator


May 9, 2008, 10:48 AM

Post #2 of 4 (230 views)
Shortcut
Re: [Harvey] Alt tag with images [In reply to] Can't Post

Hi Harvey,

Thanks for the post!

When you upload images into Article Manager you're not really able to add any additional fields that can be filled in.

That said, there are a few fields by default that you're filling in already that may work for you for this "alt" tag. For example, if you'd like you could have the image caption ($file.caption$) displayed as part of the alt tag, or you could use the title of the image ($file.title$).

Do either of these sound like they'd work for you? If so, just let me know and I'll outline for you how you can make this change to your template files.

I hope this helps! Smile

Cheers,
Mike Briggs - 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.


Harvey
User

May 13, 2008, 7:09 AM

Post #3 of 4 (205 views)
Shortcut
Re: [MikeB] Alt tag with images [In reply to] Can't Post

Sure. An outline would be cool. Thanks


MikeB
Staff / Moderator


May 13, 2008, 12:33 PM

Post #4 of 4 (204 views)
Shortcut
Re: [Harvey] Alt tag with images [In reply to] Can't Post

Hi Harvey,

Thanks for posting!

If you'd like to have "alt" tags display the name of the image you've uploaded this depends on the way that images are being uploaded to your site. I'd also recommend making a backup of any files you modify.

You'll find the default "embeddedMedia" template here:

/templates/common/embeddedMedia.html

This is what is used by default for any images that are added to a field using ***imageX***. In this file you can just modify all of the <img src> tags to ensure they have this variable:

alt="$file.title:htmlEncoded$"

Also, you'll want to check your /templates/articlePages/articlePage.html template file and see if there's anywhere in this file that you're outputting the images (via a templatecell called either "pageDefault.embeddedMedia" or "article.FIELDNAME") and again, you'll modify the image tags to add the above "alt" value.

I hope this helps! Smile

Cheers,
Mike Briggs - 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