St Ives is one of the most-photographed and oft-visited Cornish harbour towns. Its popularity was a problem however when the NHS closed the community hospital – because it could have become holiday apartments.