Allow cross domain requests

Allow cross domain ajax requests
Modify the size of images on the fly