[eluser]bondjp[/eluser]
Hi, i would like to know how you guys handle image uploads for user profiles.
I need to do it but i don't know the best way to do it.
Is this the way?:
1- upload original ex: 1024x768
2- save it to images dir
2- resize image ex: 80x80
3- save it to images/thumbnails dir
4- update db original image path
5- update db resized image path
6- When showing user profile load the original image(/images) and resize it ex: 200x200????
7- when showing users load the thumbnails (/images/thumbnails)
6- Isn't this a bad way since i'll be loading a full size image?
Thanks