KLXM Studio – Home
Get in touch

Demo · image in a frame

Fill, fit or original format.

kitIn KLXM Studio, the package of design and building blocks for a website: layout, colours, fonts and the matching blocks. A kit can be adapted or switched – the content stays. show images in frames with a fixed aspect ratio. If a subject does not fit – portrait in widescreen, a logo, a graphic – editors choose per image and placement how it goes into the frame. Here the same portrait photo three times in a 16:9 grid.

How it works

Per placement or as the image default.

  • Three modes

    Fill crops (with focal point), fit shows the whole image, original lets the frame follow the image.

  • Background

    When fitting: transparent, blurred subject, fixed colour or a kit colour – which switches with the dark colour scheme.

  • Where to set it?

    In the blockBuilding block of a page, such as text, image, gallery, map or form. You put pages together from blocks; each block has fields for its content and options for its display. at the image (“Image in a frame”) for this placement – or in the media library as the default everywhere.

  • No kit changes

    Classes on the image and a small core stylesheet – strict Content Security PolicyServer header that specifies from which sources a page may load scripts, styles, images and so on. It makes attacks such as cross-site scripting considerably harder.developer.mozilla.org (opens in a new tab), no inline styles, works in every kit.

More demos

Try more.

All examples at a glance – with demo data you can safely try out.