You need PHP.
(If you're using CSS then you're not thumbnailing anything: you're displaying the exact same image in a smaller space. The user has to download the entire image and that defeats the purpose of a thumbnail.)
There's plenty of stuff around here and especially on
Google about how to use PHP to make a thumbnail of an image.
The thumbnailing happens when someone tries to visit a certain URL, like
Code: Select all
http://example.com/thumbnailUser.php?user=jl2424
thumbnailUser.php looks up the user's avatar and outputs a thumbnail. This method sucks but is the easiest.
The best method would be to create a thumbnail of the avatar when it gets uploaded. Then you just point the <img> to the location of the thumbnail.
Code: Select all
http://example.com/images/users/thumb_jl2424.jpg