realised that the image scaper for the Document class works on the server - woooo!!