photo upload + ink file helper