attachment photo processing