Rewritten lens template routing. Updated image deeplinking.