Translations:Manual:$wgThumbnailScriptPath/4/en

Give a path here to use $thumb for thumbnail generation on client request, instead of generating them on render and outputting a static URL.