Add option to resize images on upload if they are too big
Support for appending fileRoot in url