"on error" test image rotate