HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Avatar URL

Hello, in mysql i have Field "Photos" but this url is bad, how to get good avatar url from mysql?

Comments

  • pitkmipitkmi scifi-meshes.com
    edited March 23

    The forum actually stores two pictures with prefixes n and the other with p for different sized avatars, I guess.🤷‍♂️ You might also be missing the /uploads folder.

    So, if your photos field says userpics/123/ABCDEFGHIJKL.jpg the URLs would be uploads/userpics/123/nABCDEFGHIJKL.jpg and uploads/userpics/123/pABCDEFGHIJKL.jpg

    My n one over here seems to be 100x100 and p looks like it's the original image of arguecat I uploaded.


Sign In or Register to comment.