Closed (fixed)
Project:
Geocoder
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2011 at 21:18 UTC
Updated:
2 Oct 2011 at 17:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
phayes commentedDoes it work if you just call geocode('exif','/path/to/image.jpg'); ?
Comment #2
michaelfavia commentedYes: result:
Edit: this is the correct location. ;)
Comment #3
michaelfavia commentedTraced it down in the debugger.
Geocoder.module:255
Expects to be able to return $item['value'] as the path to the image but it is undefined for image fields.
The rest of the call fails as expected. Attached patch special cases the image and file. review welcome before commit. just starting to get my head around this module and might be short changing the design.
Comment #4
michaelfavia commentedNeeds review. sorry for bug spam.
Comment #5
phayes commentedI reviewed, but didn;t test. If it works then commit it!
Comment #6
michaelfavia commentedDone and done.