FLEX-698 check the 'direction' params for photo upload

Great idea bhornseth. OK to return false here and logout an error?

I also considered doing a:

def rotate!