The line

<meta http-equiv="ImageToolbar" content="false" />

is not needed. See http://stackoverflow.com/a/7208381/721065. It was an IE6 thing.

Consider replacing the following in template.php

// Remove image toolbar in IE.
  $head_elements['ie_image_toolbar'] = array(
    '#type' => 'html_tag',
    '#tag' => 'meta',
    '#attributes' => array(
      'http-equiv' => 'ImageToolbar',
      'content' => 'false',
    ),
  );

with

// Use the latest (edge) version of IE's rendering engine
// or the Chrome rendering engine if available
$head_elements['meta_content'] = array(
    '#type' => 'html_tag',
    '#tag' => 'meta',
    '#attributes' => array(
      'http-equiv' => 'X-UA-Compatible',
      'content' => 'IE=edge,chrome=1'
    ),
  );

See http://stackoverflow.com/a/6771584/721065, http://stackoverflow.com/a/8942455/721065 and http://www.kycosoftware.com/blog/article/getting-foundation-5-to-work-in...

Comments

tisteegz’s picture

This is still an issue in 8. The Image Toolbar meta tag breaks validation. It should really be removed.

Validation error "Bad value “ImageToolbar” for attribute “http-equiv” on element “meta”."

hongpong’s picture

Good point tisteegz.

That code in 8.x is in zurb_foundation.theme -

/**
 * Implements hook_page_attachments_alter
 *
 * Add custom meta tags to the header.
 */
function zurb_foundation_page_attachments_alter(&$page) {
  // Force IE to use Chrome Frame if installed.
  $page['#attached']['html_head'][] = array(array(
    '#type' => 'html_tag',
    '#tag' => 'meta',
    '#attributes' => array(
      'content' => 'ie=edge, chrome=1',
      'http-equiv' => 'x-ua-compatible',
    ),
  ), 'chrome_frame');

  // Remove image toolbar in IE.
  $page['#attached']['html_head'][] = array(array(
    '#type' => 'html_tag',
    '#tag' => 'meta',
    '#attributes' => array(
      'http-equiv' => 'ImageToolbar',
      'content' => 'false',
    ),
  ), 'ie_image_toolbar');
}

I think chrome_frame is okay but ie_image_toolbar should go.