Overview
TheCloudImageEditor component is a standalone image editing solution that doesn’t require file upload functionality. It provides a full-featured image editor that works with images already stored in Uploadcare CDN or any accessible URL.
When to use
UseCloudImageEditor when you need:
- Image editing capabilities without file upload
- Post-upload image editing for existing files
- Cloud-powered image transformations
- Professional editing tools (crop, filters, color adjustments)
- Integration with external image sources
- A dedicated editing experience
Basic usage
Set explicit dimensions for the editor component to ensure proper display:
Features
Editing tabs
The editor supports multiple editing capabilities organized in tabs:- Crop - Aspect ratio presets and freeform cropping
- Tuning - Brightness, contrast, saturation, and more
- Filters - Pre-built filter effects
Cloud-powered transformations
All edits are applied using Uploadcare’s cloud transformation engine, ensuring:- Fast processing without client-side computation
- Consistent results across devices
- No quality loss during editing
- Ability to revert or modify transformations later
Attributes
uuid
The Uploadcare UUID of the image to edit. Use this when working with images already uploaded to Uploadcare.
cdn-url
Full CDN URL of the image to edit. Use this as an alternative to
uuid when working with external images or when you have the complete URL.ctx-name
The context name that links the editor with its configuration. Must match the
ctx-name in uc-config.tabs
Comma-separated list of tabs to show in the editor. Controls which editing capabilities are available.Available tabs:
crop- Cropping and aspect ratio toolstuning- Color and brightness adjustmentsfilters- Pre-built filter effects
crop-preset
Define preset aspect ratios for the crop tool. Provide a comma-separated list of ratios.Common presets:
1:1- Square (Instagram, profile pictures)16:9- Widescreen (video, banners)4:3- Standard photo3:4- Portrait9:16- Vertical video (Stories, Reels)
Configuration
Configure the editor through theuc-config component:
- Crop only
- All features
- Filters only
Styling
Full-screen editor
Embedded editor
Theme
Apply light or dark theme:Programmatic control
Control the editor programmatically using its API:Getting edited image URL
The editor outputs transformed image URLs through events:Integration patterns
Edit after upload
Combine with file uploaders to edit images after upload:Save edited results
Crop presets reference
Common aspect ratio presets:| Preset | Description | Use Case |
|---|---|---|
1:1 | Square | Social media posts, avatars |
16:9 | Widescreen | Video thumbnails, banners |
9:16 | Vertical | Stories, mobile video |
4:3 | Standard | Traditional photos |
3:4 | Portrait | Portrait photos |
21:9 | Ultrawide | Cinematic, panoramas |
2:3 | Photo | Classic photo print |
Events
Fired when user applies edits. Contains edited image URL and transformation details.
Fired when editor state changes (crop, filter, or tuning adjustment).
Fired when user closes the editor or cancels editing.
Comparison with integrated editing
Integrated in file uploaders
File uploader components include image editing capabilities built-in. Use
CloudImageEditor as a standalone component when you need:- Post-upload editing of existing images
- Editing without upload workflow
- Custom integration patterns
- Dedicated editing interface
Use cases
- Profile picture editor - Let users crop and adjust profile photos
- Product image editing - Edit product photos after upload
- Content management - Edit featured images in CMS
- Social media prep - Prepare images for different platforms
- Image library management - Edit images in existing collections
Related components
- FileUploaderRegular - Includes integrated image editing
- FileUploaderInline - Includes integrated image editing
- FileUploaderMinimal - Includes integrated image editing
- Config - Configure editor behavior