$quick_flickr_plugin_url = trailingslashit(get_bloginfo('wpurl')).PLUGINDIR.'/'. dirname(plugin_basename(__FILE__)); wp_enqueue_script('quick_flickr_widget', $quick_flickr_plugin_url.'/quick_flickr_widget.js');
This should be in the init of your plugin (take a look at add_action).
wp_localize_script('quick_flickr_widget', 'FlickrOptions', $options);