how to crop an image code example
Example 1: pil crop image
im = Image.open('image.jpg')
im = im.crop((left, top, right, bottom)) # coordinates of the crop
Example 2: how to add an image
<img src="pic_trulli.jpg" alt="Trulli" width="500" height="333">