Let's say that I have an image with 250 width and 250 height
and I want to crop it to 90x90
It will show me pixels from the image, but I want to crop it if it is rectangle and resize it if it's square, So how can I do it?
This is the CSS code that crops the image, but how do I resize it?
.image{
width:90px;
height:90px;
}
.image{
display: block;
overflow:hidden;
clip:rect(0px,90px,90px,0px);
}