Skip to main content
Skip table of contents

Configure your Image: Dark Mode & Rotation Macro

Inserting an Image: Dark Mode & Rotation Macro

  1. Open a page and add the macro either by typing {image dark mode or by adding it via the "Insert more content" (the "+" sign) at the top of the page, click "Other macros" and searching for Image dark mode.

    image-20250415-055903.png
  2. Once selected, you will be prompted with the configuration of the macro.

    image-20250414-141030.png

Configuration of automatic dark/light mode

Uploading an image in light mode using the light mode drop zone will automatically show a preview of the image in Dark mode, and vice versa.

Screenshot_20250414_155853-20250414-135853.png

A light mode image uploaded for light mode and the automatic dark mode preview

image-20250414-140157.png

A dark mode image uploaded for dark mode and the automatic light mode preview

Hovering over the uploaded image provides you with three buttons:

  • image-20250430-132006.png This allows you to delete the uploaded image in order to upload a different image.

  • image-20250430-131931.png Clicking this button will rotate the image counter-clockwise. The rotation will be applied to both modes

  • image-20250430-131901.png Clicking on this button will rotate the image clockwise. The rotation will be applied to both modes.

Hovering over the preview image will not display any buttons.

image-20250414-140555.png

Hovering over the uploaded light mode image shows three buttons.

Submitting the configuration as shown above will show the same image in dark and light mode (rotated the same), but with a filter applied as seen in the preview.

Configuring using different images for dark and light mode

By uploading two different images for light and dark mode, two different images will be displayed depending on whether the viewer uses dark mode or light mode.

image-20250414-140711.png

Configuration when uploading two different images for light and dark mode

When hovering over the light and dark mode image respectively, three buttons are visible again:

  • image-20250430-132006.png This allows you to delete the uploaded image and then upload a different image.

  • image-20250430-131931.png Clicking this button will rotate the image counter-clockwise. The rotation will be applied only to the image of the button.

  • image-20250430-131901.png Clicking on this button will rotate the image clockwise. The rotation will be applied only to the image of the button.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.