Image Placeholder
Last updated
Last updated
Images are crucial to your website’s user experience, and how they’re presented can significantly impact it.
Kalium wraps images in a placeholder container that can have custom style, which is visible before the image is loaded. This is an indicator that something is loading and you can use your own creativity to make the loading state of images as better as possible.
Optionally, you can add your own brand logo or custom icon as loading indicator.
To edit these options go to Appearance -> Customize -> General -> Image Placeholder
There you can choose between three types of loading types, the default is Plain Color:
Depending on the type of indicator you choose, relative options will be shown and here what they do:
Background Color - You can set any color, gradient or the dominant color of the image.
Loading Animation - a CSS loading indicator shown in the middle of image.
Custom Icon - The image you want to show as a loading indicator.
Apart from their type, each type of image placeholder will have a background which can be one of the following:
Plain color - Just as name explains it.
Gradient - Choose between two colors and set the angle and the type of gradient.
Dominant Image Color - This will assign custom color for every image based on their dominant color extracted using PHP to get the main color of the image.
Choose the Custom Icon from Type
Click Custom Image/Icon box and select your loading indicator image
Set the desired alignment inside box
Set the maximum width of the image/icon