What is the best way to crop an image in HTML?
It would be something like the following:
<img src='something.gif' x1='10' y1='10' x2='20' y2='20'>
If that doesn’t work, then I’ll just use GIMP. Any thoughts on how I can get this to work programmatically?
That’s called sprites, you can read this fantastic article of A List Apart.
In the end it boils down to: