implemented tokens for thumbnail requests