As a follow up to T305641, it might be clearer to introduce a distinct type, rather than overloading /Thumb.
The linker defines these types,
* thumbnail If present, downscale and frame * manualthumb Image name to use as a thumbnail, instead of automatic scaling * framed Shows image in original size in a frame * frameless Downscale but don't frame