rendering photo detail page, in a broken way