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 "Mallabe Images" node provides a suite of image processing operations accessible via an API. For the Extract Image Metadata operation on the Image resource, it extracts metadata information from a publicly accessible image URL. This is useful for scenarios where you need to retrieve details such as image dimensions, format, color profile, or other embedded metadata without downloading or manually inspecting the image.

Practical examples include:

  • Automatically extracting metadata from user-uploaded images to catalog or tag them.
  • Validating image properties before further processing (e.g., resizing or compressing).
  • Integrating with workflows that require image attribute checks for conditional logic.

Properties

Name Meaning
Image URL Public URL of the image file to extract metadata from.
Download Image? Whether to download the image binary data or just return a link to the metadata.
Put Output File In Field The name of the output field to place the binary file data if downloading the image.
Webhook URL (Advanced) Optional URL to send a webhook with the data of the operation (for asynchronous handling).

Output

  • The main output is a JSON object containing the extracted metadata about the image. This typically includes details like image size, format, and other metadata fields returned by the external service.
  • If Download Image? is set to true, the node also outputs the actual image binary data in a specified field (default "data"), allowing downstream nodes to access the raw image file.
  • The output structure when downloading includes:
    • json: The metadata response object.
    • binary: An object with a key named as per the "Put Output File In Field" property containing the binary image data.

Dependencies

  • Requires an active connection to the Mallabe Images API service.
  • Needs an API authentication token configured in n8n credentials (referred generically as an API key credential).
  • The image URL must be publicly accessible; protected URLs may not work due to access restrictions.
  • Optional webhook URL can be provided for advanced asynchronous callbacks.

Troubleshooting

  • Common issues:
    • Using URLs that are not publicly accessible or are behind authentication will cause failures.
    • Providing invalid or malformed URLs may result in errors from the API.
    • If the image format is unsupported or corrupted, metadata extraction might fail.
  • Error messages:
    • Errors related to network connectivity or authorization usually indicate missing or incorrect API credentials.
    • API errors mentioning inaccessible URLs suggest checking the image URL's accessibility.
  • Resolutions:
    • Ensure the image URL is publicly reachable without authentication.
    • Verify API credentials are correctly set up in n8n.
    • Validate the image URL points directly to an image file supported by the service.

Links and References

Discussion