Image editting fix

Added a new filter of get_attached_file so that if the image path is requested, it pulls the image down locally. Also fixed issue where the plugin reporting to many errors.