Overview
This node uploads images to the ImgBB image hosting service. It supports uploading images from three sources: binary data from previous nodes, a public image URL, or a Base64-encoded string. Users can optionally specify the image file name and set an expiration time for automatic deletion. This node is useful for workflows that require image hosting or sharing, such as automating image uploads for websites, social media, or content management systems.
Use Case Examples
- Uploading an image file received from a previous node in the workflow as binary data.
- Uploading an image directly from a public URL without downloading it first.
- Uploading an image encoded as a Base64 string, for example, from a database or API response.
Properties
| Name | Meaning |
|---|---|
| Image Source | Specifies the source of the image to upload, which can be binary data, a public URL, or a Base64 string. |
| Binary Property | The name of the binary property containing the image data when 'Image Source' is set to 'Binary Property'. |
| Image URL | The public URL of the image when 'Image Source' is set to 'Public URL'. |
| Base64 Data | The Base64 string of the image data (without the data header) when 'Image Source' is set to 'Base64 String'. |
| Name | Optional name or extension for the uploaded image file. |
| Expiration (s) | Optional expiration time in seconds after which the image will be auto-deleted. 0 means the image is permanent. |
Output
JSON
json- The JSON response from ImgBB API containing details about the uploaded image, such as URL and metadata.
Dependencies
- Requires an ImgBB API key credential for authentication to the ImgBB service.
Troubleshooting
- Error 'ImgBB credential missing "apiKey"' indicates the API key credential is not set or missing; ensure the ImgBB API key is configured correctly in the node credentials.
Error 'binary property "" not found' occurs if the specified binary property does not exist in the input item; verify the binary property name matches the input data. - Error 'image parameter is empty' occurs if the image source parameter (URL or Base64 data) is empty; ensure the image source input is provided and valid.
Links
- ImgBB API Documentation - Official API documentation for ImgBB image hosting service, detailing upload parameters and responses.