SpankMe
05-12-2008, 03:36 AM
Up to now I had my own code for creating thumbnails of profile pics. But since 3.7 creates thumbs for avatars, I thought it better to use that code.
From what I can tell, vB uses the same code for uploading and storing sig, avatar and profile pics (and I think attachments as well). But at some point it decides that the image is for an avatar and creates/stores a thumbnail for it.
I just need help identifying were that decision is made and where it creates the thumbs so I can modify it to do the same for profile pics.
--------------- Added 1210588987 at 1210588987 ---------------
Never mind. Got it sorted. :D
From what I can tell, vB uses the same code for uploading and storing sig, avatar and profile pics (and I think attachments as well). But at some point it decides that the image is for an avatar and creates/stores a thumbnail for it.
I just need help identifying were that decision is made and where it creates the thumbs so I can modify it to do the same for profile pics.
--------------- Added 1210588987 at 1210588987 ---------------
Never mind. Got it sorted. :D