Correct method for processing photos

Fixes #66