Configuring Automatic Sizing
What is Automatic Sizing?
Carimbo can render your template at different sizes depending on the platform that your link is being shared on.
Some platforms display previews differently than others and this way your preview always looks nice without being cut off at the top or bottom. You can configure the sizes in at the top of the preview pane in carimbo's editor.
How to configure your sizes
If you enable a platform in the "Edit Sizes" dialog, carimbo will use the size specified there when a preview image is requested from that platform. Otherwise, it always uses the default size.
You can configure the height
, width
, and scale
for each platform.
height
and width
define the size of the window that is used to render your HTML, and using scale the scale you can resize the image. This is helpful to reduce the image size since some platforms accept only a certain amount of data for open graph images.
If scale
is set the image will be scaled so that the larger of the two dimensions matches the scale
value. Here are some examples:
Layout Dimensions | Scale | Output Dimensions |
---|---|---|
1200 x 630 | 600 | 600 x 315 |
400 x 800 | 400 | 200 x 400 |
500 x 500 | 150 | 150 x 150 |