In the Jupiter WordPress theme, you can define all your custom image sizes in one place and then use them in different places including shortcodes. It helps you to control all your custom image sizes easily
In this article, we’ll explain about adding custom image sizes and how to assign the custom image sizes to the shortcodes
Defining an Image Size
To define a custom image size:
Setting | Description |
---|---|
Image width | Defines the width of an image. |
Image height | Defines the height of an image. |
Size name | Sets a custom name for the image size template. |
Hard crop | Hard crops the image. |
Assigning an Image Size to a Shortcode
As mentioned above, custom image sizes will be available as an option in various shortcodes. Below is an example on how to use your custom image size in the Blog shortcode.