whoops, forgot to tick “resolved”.
Thanks, it’s looking good for me now too 🙂
You need to call add_filter with more parameters. By default your filter will only have 1 parameter. To use three, change the last line of your code to the following:
add_filter(‘wp_read_image_metadata’, ‘add_geo_exif’, , 3);
More info here (see “Hook in your filter”):
http://codex.ww.wp.xz.cn/Plugin_API#Filters