The "alt" field (alternate text) of the "img" tag is designed to replace the image in cases the picture cannot be seen and only in this case. But, in Flex Slider, its content appears along with the picture, as the content of "title" does (except that the content of "title" appears in bold).

Files: 

Comments

Priority:Normal» Minor
Status:Active» Needs work

That shouldn't be an issue with 2.x

If you feel like rolling a patch for 1.x I'd be glad to fix it. But for the moment it's a lower priority issue. But you are most certainly correct, the alt text shouldn't be rendered as part of the caption.

Status:Needs work» Patch (to be ported)
StatusFileSize
new578 bytes

I just deleted one line in flexslider-container.tpl.php . Here you are:

<?php
/**
* @file
* Default output for a Flex Slider node.
*/
?>

<div class="flex-nav-container">
  <div class="flexslider-content flexslider clearfix" id="flexslider-<?php print $id; ?>">
    <ul class="slides">
    <?php foreach($items as $item) : ?>
      <li><?php print render($item); ?>
        <?php if(!empty($item['#item']['title']) || !empty($item['#item']['alt'])) : ?>
         <div class="flex-caption"><strong><?php print $item['#item']['title']; ?></strong>
         </div>
        <?php endif; ?>
      </li>
    <?php endforeach; ?>
    </ul>
  </div>
</div>