Get the current avatar for a specific user
#1
I discovered this playing around, just now.
so lets say that you want to get the current avatar for a specific user, to um, feature on a page perhaps, and you want their featured avatar to change when the user changes their avatar,
so how is this accomplished?

Easy: just right click their current avatar and inspect, then clip their I.D avatar address,
something like <img src="https://yourwebsite.com/uploads/avatars/avatar_1.jpg">

as you can see, this user's I.D is 1,

copy and paste this <img src="https://yourwebsite.com/uploads/avatars/avatar_1.jpg">
into the section that you want the avatar to appear and wholla, magic,
if that user's avatar changes, their featured avatar will change as well, just do a hard refresh to see the changes.


lab tested and twitter verified.
Hey man, what's up?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)