Isarin,<br><br>That's very strange - there shouldn't be any problem with accessing ANY user's images using ANY API - except if you are trying to access private images.&nbsp; I haven't yet created a scheme for authenticating your site to display private images, but that is possible using the phpFlickr class.&nbsp; If you're just trying to access public images, ensure that you are using the right syntax user=username.&nbsp; Which brings up another theoretical issue that I haven't thought of - I don't suppose that your username is actually one of flickr's funny account ids, like 9384813975N00 or whatever...?&nbsp; If that's the case, then maybe there something funny going on when you try to put that in the user= variable. If that's not the case, then make sure that you are using the username, not the display name--in my case, while my name displays as &quot;josquin&quot; in flickr, my username is actually josquin2000 (somebody had taken josquin already).&nbsp; Does any of that ring a bell?
<br><br>Jon<br><br><div><span class="gmail_quote">On 2/6/06, <b class="gmail_sendername">H S</b> &lt;<a href="mailto:haadyai@gmail.com">haadyai@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I think I am still missing something.<br><br>I applied a new flickr-album.php.<br><br>Then, I added&nbsp; <br><br>a) in&nbsp; config.php&nbsp; in field A<br>$FlickrAPIKey = 'f<span style="font-weight: bold;">lickr_key_user_a</span>';<br>

include_once(&quot;$FarmD/cookbook/flickr-album.php&quot;);<br><br>b)&nbsp; in&nbsp; config.php&nbsp; in field B<br>
$FlickrAPIKey = 'f<span style="font-weight: bold;">lickr_key_user_b</span>';<br>
include_once(&quot;$FarmD/cookbook/flickr-album.php&quot;);<br><br>my access to user-a in either field A or field B works. I can see my pictures on both fields.&nbsp; However, I can't access 'user-b' even on field B itself.&nbsp; 
<br><br>Thanks,<br>Isarin<div><span class="e" id="q_109415ee2871c1d0_1"><br><br><br><div><span class="gmail_quote">On 2/6/06, <b class="gmail_sendername">Jon Haupt</b> &lt;<a href="mailto:jhaupt@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
jhaupt@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span><br><br><div><span class="gmail_quote">On 2/6/06, <b class="gmail_sendername">Dominique Faure</b> &lt;<a href="mailto:dominique.faure@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

dominique.faure@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2006/2/6, Jon Haupt &lt;<a href="mailto:jhaupt@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jhaupt@gmail.com</a>&gt;:<br>&gt; On 2/5/06, H S &lt;<a href="mailto:haadyai@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

haadyai@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; &gt; Hello,<br>&gt; &gt;<br>
&gt; &gt; How should I setup more than one key in the flickr-album.php?<br>&gt; &gt;<br>&gt; &gt; Also if I have two different fields and have A key for a field and&nbsp;&nbsp;B/C<br>&gt; keys for another field, how do I set them up ?
<br>&gt; &gt;<br>&gt; &gt;<br>&gt; Hmm, I'm assuming what you mean is the flickr API key; what needs to be done<br>&gt; is the key should be a global variable that can be set in config.php before<br>&gt; including flickr-album.php


.&nbsp;&nbsp;However, I'm a little confused as to how this<br>&gt; is done; when I initially tried setting the key as a variable and then using<br>&gt; the variable within the function, it didn't work.&nbsp;&nbsp;If someone else can<br>&gt; explain how to write that in the code, I'll be glad to fix it.
<br><br>Perhaps something like:<br><br>SDV($FlickrAPIKey, &quot;put_your_API_key_here&quot;);<br><br>function FlickrAlbum($p) {<br>&nbsp;&nbsp;global $FlickrAPIKey;<br><br>&nbsp;&nbsp;require_once(&quot;phpFlickr/phpFlickr.php&quot;);<br><br>


&nbsp;&nbsp;// Create new phpFlickr object<br>&nbsp;&nbsp;$f = new phpFlickr($FlickrAPIKey);<br><br>&nbsp;&nbsp;...<br><br>Regards,<br>Dom<br></blockquote></div><br></span></div>Thanks - I think I understand SDV and declarations better now.&nbsp; I've updated 
flickr-album.php
 with this little insight and now you should be able to simply set $FlickrAPIKey = &quot;whatever&quot;; in each field before including flickr-album.php and it'll work.<br><span><br>Jon</span><div><span>
<br clear="all"><br>-- <br>Jon Haupt<br>Fine &amp; Performing Arts Librarian
<br>Iowa State University<br>152 Parks Library<br>Ames, IA 50011<br>515-294-0904<br><a href="mailto:jhaupt@iastate.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jhaupt@iastate.edu</a>

</span></div></blockquote></div><br>

</span></div><br>_______________________________________________<br>pmwiki-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://host.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://host.pmichaud.com/mailman/listinfo/pmwiki-users</a><br><br><br></blockquote>
</div><br><br clear="all"><br>-- <br>Jon Haupt<br>Fine &amp; Performing Arts Librarian<br>Iowa State University<br>152 Parks Library<br>Ames, IA 50011<br>515-294-0904<br><a href="mailto:jhaupt@iastate.edu">jhaupt@iastate.edu
</a>