try to implement photo compression but not succeed...