changed image scaling in server