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 need 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 for marketing materials, or flipping a scanned document vertically to correct upside-down scans.

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 downloading)
Webhook URL (Advanced) Optional URL to send a webhook with the data of the operation

Output

  • The node outputs JSON data containing the result of the flip operation.
  • If the "Download Image?" property is set to true, the node downloads the flipped image and outputs it as binary data under the specified output field name.
  • If not downloading, the node returns JSON with a URL pointing to the flipped image.
  • The JSON structure includes at least a url field with the location of the flipped image.
  • Binary data output contains the actual image file data ready for use in subsequent nodes.

Dependencies

  • Requires an API key credential for the Mallabe Images service to authenticate requests.
  • The node makes HTTP POST requests to the Mallabe Images API endpoint /v1/images/flip.
  • Optionally supports sending a webhook callback URL to receive operation data asynchronously.

Troubleshooting

  • Common Issues:
    • Providing a non-public or protected image URL may cause the API to fail to access the image.
    • Setting both vertical and horizontal flips to false will result in no change; ensure at least one is true.
    • Incorrect or missing API credentials will cause authentication errors.
  • Error Messages:
    • Errors related to invalid URLs or inaccessible images typically indicate permission or URL correctness issues.
    • API authentication errors suggest checking the provided API key credential.
    • Network or timeout errors may require retrying or verifying network connectivity.
  • To resolve, verify the image URL accessibility, ensure proper API credentials are configured, and confirm that at least one flip direction is selected.

Links and References

Discussion