title: JSON internet explorer problems
body: <p>I am using GalleryCMS which outputs a JSON feed for images captions etc.  Using this as a separate script to parse JSON:</p>
  
  <pre><code>(function( $ ) {
    $.fn.gallerycms = function( options ) {
  
      var settings = $.extend({
        url : '',
        theme : '',
      }, options);
  
      var $this = $(this);
  
      return this.each(function() {
  
        if (settings.url.indexOf('/myfeed/') &gt; -1) {
          alert('Only album feeds are supported by Galleria.')
        } else if (settings.url.indexOf('/feed/') &gt; -1) {
          parseAlbum();
        }
  
      });
  
      function parseAlbum() {  
        $.getJSON(settings.url, 
                  function(data) {
          $.each(data.images, function(key, image) {
            $($this).append('img src=&lt;a href="' + image.url + '"&gt;&lt;img data-title="' + image.caption + '" src="' + image.thumb + '" /&gt;&lt;/a&gt;');
          });
  
          Galleria.loadTheme(settings.theme);
          Galleria.run($this);
        });
      }
  
    };
  })( jQuery );
  </code></pre>
  
  <p>Within the html document I use this to set script:</p>
  
  <pre><code>$(document).ready(function() {
        $('#galleria').gallerycms({
          url : 'http://www.paulgubaphoto.com/GalleryCMS/index.php/api/feed/json/e2b740b7-9ab1-11e1-ae3d-0022192d6244',
          theme : '/galleria/themes/twelve/galleria.twelve.min.js'
        });
  </code></pre>
  
  <p>So works perfectly with Chrome, Firefox, Safari, Mozilla but no love with internet explorer.
  You can find it here: www.paulgubaphoto.com/index-test.html.  I am a rank beginner so please type slowly and clearly.  </p>
  
  <p>Paul</p>