0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions108

Overview

This node is part of a multifunctional toolbox designed to perform various utility operations without coding. Specifically, when using the Image resource with the Exif operation, the node extracts EXIF metadata from an image. EXIF data typically includes camera settings, geolocation, date/time information, and other metadata embedded in image files.

Common scenarios for this node include:

  • Extracting camera details from photos for cataloging or analysis.
  • Retrieving geolocation data embedded in images for mapping purposes.
  • Accessing date/time stamps to organize photos chronologically.

For example, you can provide a publicly accessible image URL or a binary buffer of an image, and the node will return the EXIF metadata contained within that image.

Properties

Name Meaning
Type of Data Choose whether the input image is provided as a URL (publicly accessible link) or as a Buffer (binary data).
URL The publicly accessible URL of the image to extract EXIF data from. Required if "Type of Data" is set to URL.
Buffer The binary buffer of the image to extract EXIF data from. Required if "Type of Data" is set to Buffer.
Code Variables A collection of code variables where each variable has:
- Variable Name or ID The name or ID of a variable defined in the code editor for use in selected functions.
- Value The value assigned to the corresponding variable.

Output

The node outputs JSON data containing the extracted EXIF metadata from the image. This metadata may include fields such as camera make and model, exposure settings, GPS coordinates, timestamps, and other embedded information depending on the image.

If the input was a buffer, the node processes the binary data directly; if a URL was provided, it fetches the image from the URL before extracting metadata.

No binary output is produced by this operation.

Dependencies

  • Requires access to the image either via a publicly accessible URL or as a binary buffer.
  • Requires an API key credential configured in n8n for authentication with the underlying service providing the EXIF extraction functionality.
  • Network connectivity is necessary if using URLs to fetch images.

Troubleshooting

  • Invalid or inaccessible URL: If the URL is not publicly accessible or incorrect, the node will fail to retrieve the image. Ensure the URL is valid and reachable from the n8n environment.
  • Incorrect buffer format: When providing a buffer, ensure it is correctly encoded and represents a valid image file.
  • Missing or invalid API credentials: The node requires a valid API key credential. Errors related to authentication indicate misconfiguration or expired credentials.
  • Unsupported image formats: Some image formats might not contain EXIF data or may not be supported by the service, resulting in empty or partial metadata.
  • Continue On Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output.

Links and References

Discussion