Help
Ask questions about how to do or fix things in Arrowchat
User avatar
Jack
Customer
 
Posts: 36
Joined: 01 Jun 2010, 21:55

 

by Jack 03 Feb 2011, 15:58

nvm, was sending the wrong variables to the getAvatar function :p
Last edited by Jack on 03 Feb 2011, 16:31, edited 2 times in total.
User avatar
Jason
Customer
 
Posts: 2356
Joined: 12 Dec 2009, 16:06

 

by Jason 03 Feb 2011, 16:04

It's the same function and the same path. I can't imagine why it wouldn't work if it works for the buddy list. If you're having trouble then you can return a full URL in the function instead (http://...).
User avatar
DMoney
Customer
 
Posts: 12
Joined: 25 Feb 2011, 04:49

 

by DMoney 03 Mar 2011, 01:22

function getAvatar($image, $user_id) {
return "./image.php?u=".$image;

Do you mean like
return "http://mysitename.com/image.php?u=".$image;
User avatar
Staff Bot
ArrowChat Team
 
Posts: 8996
Joined: 07 Nov 2012, 13:41

 

by Staff Bot 07 Nov 2012, 12:40

This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.