Support
Still have questions? Message us.
Enables option to replace a placeholder image. Users can upload and format their images in the visual editor, and export the final image files when they export their email or landing page.
block-edit
<img class="block-edit" src="image.jpg" width="400" height="200">
Setting a height: auto
CSS style for the image allows changing the cropping height to any size. When cropping is shown, clicking the Skip button scales the image to the placeholder image width and adjusts the height automatically to be proportional.
Adding variable names to images saves their content. Each unique image requires its own variable name. Using the same variable name on multiple images will update images for all areas when one is updated.
data-block="variable-name"
<img class="block-edit" data-block="example-name" src="image.jpg" width="400" height="200">
Allows placeholder image to get resized to size of new image.
Skips cropping modal and placeholder area gets resized to both the width and height of new image. Pixel density of the placeholder image is taken into account and matches new image's size.
block-resize
Including min-width
and max-width
, and min-height
and max-height
styles sets size limits to stay within.
<img class="block-edit block-resize" src="image.jpg" width="400" height="200" style="min-width:50px; max-width:600px">
block-no-image
Disables image editing options and keeps just the link option.
block-remove
Allows an image to be removed.
A link on an image is editable by default. If an editable image doesn't have a link, it can be added as part of the image's editing options.
Still have questions? Message us.