Skip to main content

useImageUpload

The useImageUpload hook provides image upload functionality, handling the complete upload pipeline. It returns basic image metadata (ID, URL, resource URL) with uploads automatically attached to the current user. This hook is the foundation for direct image storage scenarios like profile pictures, attachments, or cases where you manage image relationships and metadata yourself. For user-generated content requiring visibility controls, sharing capabilities, or content discovery features, useCreateImageContent builds on this hook to provide those higher-level abstractions.

Anchor to useImageUpload
useImageUpload()


Was this page helpful?