debug photo rotation in production