Ghost - Upload image action ​

The Upload image action uploads a single image to Ghost and returns a hosted URL you can use as a post's feature image or inside post HTML.

Input ​

Input fieldDescription
File contentEnter the contents of the image file.
File nameEnter the file name with extension. For example, hero.png.
MIME typeSelect the MIME type of the image, such as PNG, JPEG, WebP, GIF, SVG, or ICO.
PurposeSelect the image's intended use, such as Image, Profile image, or Icon. Defaults to Image if left blank. Profile image and Icon must be square. Icon also accepts ICO files.
ReferenceOptional. Enter the original file name or path. Returned as-is in the response for find-and-replace workflows.

Output ​

Output fieldDescription
URLHosted URL of the uploaded image.
ReferenceReference value you provided in the input.

Last updated: