I have an image with height 173px and width 157px .I want to set its height and width to 100 px but when i do so it get streched.I want to use img tag to do this.I have no problem if it is cropped in resizing
Share
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.
Yes, it’s stretched. How do you want to do without stretching ?
The only thing you can do is to recreate an image using a server api and do not use the resize in css.
But, it will strecht because you do not kept the ratio between width and height !