changed dimensions of uploaded images