Add optional image cache expiry to the imageResize API