instantiate new Flickr object earlier in the shortcode filter