Turn pirates into customers: a smart approach to the photo problem