I have a user that I want to expose to services. Using Services Views. I'm using fields as the format, and adding the "photo" field to my display. My issue is that when I view the service (as JSON). I get all the HTML as well as th image URL, for instance
users_node_picture: "<img typeof="foaf:Image" src="http://mysite.com/sites/mysite.com/files/styles/thumbnail/public/pictures/picture-36.png" alt="" />",
I need just the url, I've tried the following with no luck.
- Strip HTML (removes everything)
- Rewrite output (same result)
- Row theming (does not effect the services result, only the html page)
- Installed Views PHP (by returning the row, I simply get the field id)
Is there any other way to effect the output of this field before it is outputed by Services Views? I thought perhaps I could do something with template_preprocess, but I'm not really sure how I would go about doing it.