* add option to control photo path-substituion, resolves #180