Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2605

    Hi

    http://lmc.ddtcomputing.co.uk

    I would like to put some text into the alt funtion. I have put it into the slider entry but when the page loads and i check the page source the code looks like…

    <img src='img source' alt='' />

    Am I doing something wrong?

    any help appreciated

    Dan

    #38657

    Hey,

    The theme is behaving as per the default functionality. There is no built in option to define the ALT text, and the default output (set in /framework/helper_functions/kriesi_post_thumb.php) is:

    $defaultimage = $linkwrap[0]."<img ".$img_attr_string." src='".$image_URL."' alt='' title='".get_the_title()."' height='".$option['wh']['height'] ." ' width='".$option['wh']['width'] ."' />".$linkwrap[1];

    You could adapt the code to add an option for the ALT text.

    James

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Avia Slider alt image text’ is closed to new replies.