Hi there,
I am wanting to get the path of an mp3 that is part of a content type using the media module. I also needed the url to a image path but managed to retrieve that with:
file_create_url($node->field_apimage['und'][0]['uri'])).
However, this doesn't work with the mp3 file path. When I check what is available in the field array using:
print field_view_value() etc..
The element of the array where you would expect to see the path is empty. Should I be changing the field type to something else so the uri is available? I can't work out why the path isn't showing as it must be listed somewhere in the database.
Any help would be much appreciated,
Thanks,
Jon