Photographs of gulls eating anything from chips to starfish will help solve a scientific puzzle.