Fix secure thumbnails