Personal I have an image that I bring from the database and put it in an IMG tag in the size of 960px by 480px. I need to resize it to 470x160. I need it to be resized by length, and the height left over is trimmed, but out of the center. See the image below:
I need to discard the two gray bands.
Can you do this in CSS3 or JQuery? If so, how?
Thank you