Getting user photo url and profile url using views_json I'm using the views_json module in Views Datasource to send some information in JSON format to a related website.  I've got a bunch of content views built, but now I'm trying to build staff pages.  I've got most of it working fine, but when I try to add the user picture I end up with an empty field, When trying to find a url for the user's profile page (using User: Link), I got the text "view", leading me to believe that when drupal tries to output the content as a link, views_json returns the link text.  I just want the url in plaintext, I don't need the html for a link.  How can I get the user picture, and the absolute url to the user profile in views_json?

Image fields for my node views work just fine, I get field_image.src and field_image.alt elements in the JSON that is returned, with the Use picture I get a blank field or a series of \n´s
To get the user pic url, you can do it using Image URL Formatter. Once enabled, when you click on the user picture field, you will now see a formatter option, select image url.

For the user, assuming this is a user view, in FIELDS add the User: Uid as a field and checkmark ☑ exclude from display.

Now, add Global: Custom text as a field. In the text box, put http://ultrabob.com/user/[uid]

I got [uid] from replacement patterns. Side note, in order for fields to appear as a replacement pattern, they must be above the current field.

Else, if you're using pathauto so the user pages are /user/[username] then add the User: Name field instead and use the [name] token.

Now, if your view is a content view, ex: shows articles, then you will need to add a relationship of node author first, once you do that, the user fields will become available to be added as a field. 




  OK, that issue got me sorted with the pictures, I'm now working on the
  solution for profile page link. Can you think of a good way to get the
  domain part of the url (http://ultrabob.com/) in your example
  dynamically in views from the site configuration. I would like this to
  continue to work without modification as it is deployed across test
  servers and onto production


You can using php. Ex: &lt;?php echo $_SERVER['HTTP_HOST']; ?&gt;

Either you could enable the Views PHP module, but remember to turn it off on production, or use a template file. 

views-view-field--[view-name]--views-data-export--[field-name].tpl.php

&lt;?php

$fields["field_name"]-&gt;content = 'http://' . $_SERVER['HTTP_HOST'] . '/user/' . $fields["field_name"]-&gt;content;

echo $fields["field_name"]-&gt;content;