News:

Wondering if this will always be free?  See why free is better.

Main Menu

[solved] Retrieve avatar from users

Started by Tosfera, January 28, 2016, 06:20:05 AM

Previous topic - Next topic

Tosfera

I've been struggling for at least 2 hours now, I've got the $user_info filled by default but the ['avatar']['url'] seems to be empty. No big deal, it's okay. Guess that's only being filled when an user uses an url as an avatar. I do have the ['filename'] so I've been trying, wait let's go back and say that again, trying struggling to retrieve the image with that name. I can't find it anywhere on my webserver and it's seriously freaking me out.

Where are the avatars being stored, how is this working and why isn't it somewhere stored on the webserver? As far as I could see is that the avatars are saved in a format like: "avatar_userId_timestamp.jpg", these timestamps are totally lost somewhere too. Anyone can point some light on this for me?


solved. I've saved the id_attach and retrieved the image with the dlattach function like the profile does.

Advertisement: