Added secure_tn custom tag to allow to retrieve thumbnails