Skip to main content
The base theme introduces a custom Image component called “ExpImage”, designed to deliver optimized images according to your specifications. Additionally, it offers various customization options to tailor the image precisely to your requirements.

Importance of ExpImage

Don’t we all agree that when information is presented in a visual/graphical format, it creates deeper impact on the user! This enhances the UX (User Experience) altogether.
Improving user experience helps in:
  • Increasing user retention
  • Decreasing bounce rates on your website
To add image support in website, a user can use ExpImage. This component helps in handling images from the admin panel.

ExpImage

The ExpImage component is responsible for rendering customized images based on different configurations. It accepts a variety of props including src, name, height, width, alt, title, style, lazyLoad, retina, preLoad, options, navigationUrl, and navigationTarget. Many of these attributes mirror those typically used in standard HTML image tags. The ExpImage component accepts the following props: Here is an example to show the usage of ExpCustomImageRenderer.
The object within the options array can contain multiple values as illustrated below:
Head to the next document to learn more about the Menu Component in this base theme.