adds download photo link to photo detail page