Simple helper to crop images in Magento