//  Added following 2 lines to convert &and; back into ampersands for parsing
	ffg_options_valid=ffg_options[0]
	ffg_options[0]=ffg_options_valid.replace(/&and;/g, String.fromCharCode(38));
    (function() {
        jQuery(document).ready(ffg_show_image_content);
    })();
    function ffg_show_image_content() {
        jQuery.getJSON(ffg_options[0],
        function(result) {
            jQuery.each(result.items,
            function(i,item) {
                ffg_append_img_content(i,item);
                if(i+1>=ffg_options[2]) return false;
            }
        )
        }
    );
    }

    function ffg_append_img_content(i,item) {
        var img_url = item.media.m;
        var iu = img_url.replace("_m",ffg_options[1]);
        var content = '<a title="'+item.title+'" href="'+item.link+'" class="ffg_link_css" id="ffg_link_'+i+'">'
        content = content+ '<img alt="'+item.title+'" class="ffg_img_css" id="ffg_img_'+i+'"'+' src="'+iu+'">';
        content = content + '<\/a>';
        jQuery(content).insertAfter('#ffg_marker_span');
    }

