Add permalink to each pet in index
Tweak photo_url to handle a few more cases