Skip to content
← Back to guides

Image variants and automatic thumbnails

Product images ›Image variants
April 7, 2026Updated: April 7, 20263 min read23 views
How Theka generates optimized thumbnails and previews for images

Image variants

When you upload an image (JPEG, PNG, GIF, WebP, TIFF) or a PDF, Theka automatically generates optimized size variants.

Default variants

NameMax sizeUse
thumb_sm150pxCompact lists, tables
thumb_md400pxCards, grids
preview1200pxPreview, lightbox

Custom presets

The administrator can define different presets for each document type. For example the "Product Image" type can have larger variants than the "Logo" type.

Regeneration

If presets are changed or the original generation failed, you can regenerate variants from the document detail page.

PDF

For PDF files, Theka generates variants from the first page of the document.