Mallabe Images icon

Mallabe Images

Mallabe Images is an automation toolchain that allows you to process images, resize, crop and apply other manipulations on images on the fly.

Overview

The "Flip Image" operation of the Mallabe Images node allows users to flip an image either vertically, horizontally, or both. This is useful in scenarios where you want to mirror images for creative effects, correct orientation issues, or prepare images for further processing or display.

For example:

  • Flipping a product photo horizontally to create a mirrored version.
  • Vertically flipping a scanned document image that was scanned upside down.
  • Combining vertical and horizontal flips to rotate an image by 180 degrees.

The node accepts a public URL of the image to be flipped and can either return a direct link to the flipped image or download the flipped image data into the workflow for further use.

Properties

Name Meaning
Image URL Public URL of the image file to flip
Vertical Flip Whether to apply a vertical flip (true/false)
Horizontal Flip Whether to apply a horizontal flip (true/false)
Download Image? Whether to download the flipped image binary data or just return a link to it (true/false)
Put Output File In Field The name of the output field to put the binary file data in (used only if Download Image? is true)
Webhook URL (Advanced) Optional URL to send a webhook with the data of the operation

Output

The node outputs JSON data containing information about the flipped image. If the "Download Image?" property is set to false, the output JSON includes a URL pointing to the flipped image.

If "Download Image?" is true, the node downloads the flipped image binary data and places it in the specified output field within the binary property of the output item. This allows subsequent nodes in the workflow to access the actual image file content directly.

Example output structure when downloading:

{
  "json": {
    "data": {
      "url": "https://cdn.mallabe.com/processed-image.jpg",
      ...
    }
  },
  "binary": {
    "data": {
      "data": "<binary image data>"
    }
  }
}

When not downloading, the output contains only the JSON with the image URL.

Dependencies

  • Requires an API key credential for the Mallabe Images service.
  • The node makes HTTP POST requests to the Mallabe Images API endpoint /v1/images/flip.
  • If downloading the image, it fetches the binary data from the returned CDN URL.
  • No additional environment variables are required beyond the API key credential.

Troubleshooting

  • Invalid or inaccessible Image URL: The node requires a publicly accessible image URL. Protected or private URLs will cause errors.
  • No flip direction selected: If both vertical and horizontal flips are false, the image will remain unchanged; ensure at least one is true.
  • API request failures: Network issues or invalid API credentials will cause errors. Verify the API key and network connectivity.
  • Binary download issues: If "Download Image?" is true but the CDN URL is invalid or inaccessible, the binary data retrieval will fail.
  • Webhook URL errors: If a webhook URL is provided but unreachable, the operation may still succeed but webhook delivery will fail silently.

To resolve errors, check the input URL accessibility, confirm API credentials, and verify property settings.

Links and References

Discussion