compress photo ok and prepare stick photos function
fix conflict