Save to Camera Roll SDK
Save images from your app to the user's device.
Written By despia
Last updated About 1 year ago
User Experience
This SDK enhances your app by:
Saving images locally
Enabling offline access
Making sharing easier
Improving user engagement
Simplifying image access
SDK Usage
const image = "https://example.com/image.jpg"
window.despia = `savethisimage://?url=${image}`
Examples
Save Profile Picture
function saveProfilePic() {
const image = "https://yourapp.com/profile.jpg"
window.despia = `savethisimage://?url=${image}`
}
Save Product Image
function saveProduct(productImage) {
window.despia = `savethisimage://?url=${productImage}`
}
Save Achievement Badge
function saveAchievement() {
const badge = "https://yourapp.com/badges/winner.jpg"
window.despia = `savethisimage://?url=${badge}`
}
Tips
Use valid image URLs
Ensure images are accessible
Handle save completion
Consider image sizes
Test different formats
Need help? Email us at support@despia.com