added edit link to photo grid