AS in facebook,orkut what should be the profile pic settings height,width etc so that the image is clear and do not have any distortion when viewing it
<img src="image.gif" style="height:75px;width:130px;" />
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To avoid distortion in the thumbnail image you should take the original image, and, using whatever image manipulation program or technique (php, Photoshop…) you have available, resize/crop the image to whatever size you consider appropriate:
And then use the
profilePictureThumbnail.pngrather than using theimgtag to resize/scale the image.I’d still suggest using
heightandwidthattributes in theimgtag, since that allows the browser to lay out the page even if the network, or image-server, is slow to respond with the actual image.I’d definitely avoid using the browser to resize the image since it still requires the picture to be downloaded (at its full size/resolution), and browser image manipulation is not particularly sensitive (and varies from Firefox to Chrome to IE to Opera…), not to mention that people on mobile internet packages won’t thank you for throwing, potentially, multi-megabyte images at them via their mobile tariff.