Image teasers
TABLE OF CONTENTS
- 1 Summary
- 2 Demo
- 3 User guide
- 4 Magesuite standard
- 4.1 Basic configuration
- 4.2 Schemes
- 4.3 Content align
- 4.4 Optimizers
- 4.4.1 Overaly
- 4.4.2 Gradient shadow
- 4.4.3 Container
- 4.4.4 Text shadow
- 4.5 Mobile vs desktop
- 4.6 Slider scenarios
- 4.6.1 Navigation (arrows)
- 4.6.2 Pagination
- 4.6.3 Part of the next slide is visible
- 4.7 Desktop slider scenarios
- 4.8 Slide without image
- 4.9 Magesuite customizations
- 5 Projects customizations
Summary
Image teasers are the heart of CMS pages in the shop, especially Homepages relies on a wide variety of image teasers to provide engaging content for a user.
Â
Image teaser inside elements (images with some content on it, or below) are referred as items or slides, even if magesuite slider is actually not activated and teaser is displayed as a grid.
There are many possibilities to configure teasers based on combined options below. However a small amount of scenario is not available, as there are some technical restrictions or a given scenario has some visual problems. All possible scenarios are listed on the components list (https://demo.magesuite.io/contentconstructor/components/index)
Demo
A the demo shop the list of image teasers is available on the components list, check:
User guide
Magesuite standard
Basic configuration
There are some basic image teaser types:
Type | Admin screen | Demo link | Dev hint |
---|---|---|---|
Browser width / content width Content width means that a teaser is contained within page container ( | Â | Browser width - https://demo.magesuite.io/de/contentconstructor/components/index/page/itbrowserwidth/ Content width - https://demo.magesuite.io/de/contentconstructor/components/index/page/itcontentwidth/ | browser width is called |
Grid / slider If the grid options is selected, when there are more slides than defined amount of slides in a row, slides will be placed in another row, below the first row. When there is a slider selected, if there are more slides configured than slides per row, magesuite slider will be activated. | Â | Grid teasers - https://demo.magesuite.io/de/contentconstructor/components/index/page/itcontentwidth/ Slider teasers - https://demo.magesuite.io/de/contentconstructor/components/index/page/itcontentwidthslider/ | Magesuite uses custom slider component located in |
Layout on tablet/desktop (number of items per row) 1 in row 2 in row 3 in row 4 in row | Â | Check links above | Â |
Mobile layout teasers in column (one below another) slider grid with 2 items in row | Â | Check links above | Â |
Text positioning over the image below the image | Â | Check links above | Â |
Â
Schemes
There are 2 content color schemes that can be defined separately for every teaser item by an admin editor: dark scheme and white scheme.
Namde | Screen | Info |
---|---|---|
Dark scheme | Â |
|
Light scheme | Â |
|
Â
Content align
An admin editor can define 9 positions of content for every slide.
Optimizers
In order to make texts more readable on an image, it is possible to define some contrast optimizers. This feature is available only for teasers with texts over the image.
Overaly
The overlay is placed on the entire image and below texts. Its intensity can be changed by an editor. For the dark scheme and light scheme, different colors of overlay are applied (can be defined per project).
Gradient shadow
By applying gradient part of an image (most often the part, where the text is placed) can be make darker/lighter in order to make text more readable;
Container
Light or dark (depending on an applied scheme) container with controlled transparency can be added below the content.
Text shadow
Light or dark text-shadow can be placed below each letter.
Mobile vs desktop
The quite often workflow for teasers is to set a separate component for mobile and a separate component for desktop/tablet. The main reason is image cropping - different images are needed for mobile to properly show the most important content. Sometimes there is a need to display different texts or just designs for mobile and desktop are so different, that it is not possible to set only one teaser (f.e. on mobile text is below the image, and on desktop text is over the image for the same section of a page. With Content Constructor separate components can be set for mobile and for desktop.
Slider scenarios
In Magesuite there are some built-in elements and behaviors that can help users to see that a given element is a slider and to interact with the slider component.
Navigation (arrows)
Arrows that can't be clicked at the moment can have opacity and can be greyed out or hidden. Navigation can be hidden on mobile and/or desktop.
Pagination
Pagination below a teaser informs the user about a number of slides and an active slide. Pagination can be hidden on mobile and/or desktop. Fraction pagination is by default shown where there are too many items. However, this behavior can be configured by a project.
Â
Part of the next slide is visible
By default only a small part of the next slide is visible on mobile. However, the part of the next slide that is visible can be made larger.
Â
Desktop slider scenarios
Check below the possible behavior/configuration of the slider component on the desktop:
Slider content-width with next slides not visible (default)
Â
Slider content-width with next slides visible
Slider browser-width
Slide without image
When there is no image uploaded for a slide text will be displayed with the corresponding background: light for dark scheme (dark texts) and dark for light scheme (light color texts).
Example:
Â
Magesuite customizations
To some extent, image teasers can be rather easily modified to achieve some custom effects. Below is a list of customizations that were introduced in child projects and have prepared documentation for developers.
Functionality | Screens | Comment / Dev hint |
---|---|---|
An admin editor can choose custom background, slogan color or text color for a slide | Â | Frontend Customizations - examples | Background for image teaser slide |
Possibility of special styling for a teaser. On the frontend it is possible to prepare custom styling for some image teasers. The simplest modifications are:
In order to learn if more advanced customizations are possible, consult frontend developer. |  | Frontend Customizations - examples | Add a special variant for image teaser  |
 |  |  |
 |  |  |
 |  |  |
Projects customizations
URL | Mobile | Desktop |
---|---|---|
 |  | |
 |  | |
Slider, text below the image, part of second slide visible. | Content width, slider 2-in-row, with part of third slide visible, text below the image. | |
Mobile - grid 2-in-row | 2-in-row, content width. | |
 |  | Teaser 1-in-row Teaser 3-in-row |
 |  |  |