<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Alexander,<br>
Picture location is a field in the $user object.&nbsp; This will probably
get you what you're looking for:<br>
<br>
&lt;?php<br>
global $user;<br>
$img_tag = '&lt;img src="' . base_path() . $user-&gt;picture . '"
/&gt;';<br>
?&gt;<br>
<br>
If you need a function to call, you could just wrap the above in a
function that takes a uid parameter and do a user_load on it instead of
using the global $user object.<br>
<br>
-Seth<br>
<br>
Alexander Arul wrote:
<blockquote
 cite="mid:f52980010908162016t72998187t479996e86011b253@mail.gmail.com"
 type="cite">Hi all, <br>
  <br>
I want to generate the user's picture path using code. I thought there
might be an API function like <b>function user_image_path($uid)</b>,
but nothing like that so far .. please point me in the right direction,
thanks :)<br>
  <br>
Cheers<br>
Arul<b>&nbsp; </b><br>
  <pre wrap="">
<hr size="4" width="90%">
--
[ Drupal support list | <a class="moz-txt-link-freetext" href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]</pre>
</blockquote>
</body>
</html>