The first probably simple question of many....
            2 posts by 2 authors in: Forums > CMS Builder
Last Post: May 5, 2008   (RSS)          
By Itsnoprob - May 5, 2008
          I am just starting out with CMS and am try and failing to find out how to set the ALT tag for thumbnails and/or image files using the info fields. 
Could someone kindly advise?
Many thanks in advance.
Nigel
                          
        Could someone kindly advise?
Many thanks in advance.
Nigel
      http://www.Itsnoprob.co.uk
Personal Service on the Net!
                    Personal Service on the Net!
Re: [Itsnoprob] The first probably simple question of many....
By Dave - May 5, 2008
          Hi Nigel, welcome to the CMS Builder forum!
If yo uhave a look at the code that displays your images you'll see an attribute like this for height:
Just do the same thing for alt, like this:
Hope that helps, let me know if you need any more details!
                          
        If yo uhave a look at the code that displays your images you'll see an attribute like this for height:
height="<?php echo $upload['height'] ?>"Just do the same thing for alt, like this:
alt="<?php echo $upload['info1'] ?>"Hope that helps, let me know if you need any more details!
      Dave Edis - Senior Developer
interactivetools.com
                    interactivetools.com