Image Compressor Bubble Mobile

Demo to preview the plugin:

Introduction

The Image Compressor Bubble Mobile plugin is designed specifically for mobile applications built with Bubble’s mobile editor. This powerful plugin allows you to compress images efficiently while maintaining optimal quality for mobile applications. The plugin supports various compression options including quality control, dimension limits, file size restrictions, and multiple output formats (JPEG, PNG, WebP).
This plugin is perfect for mobile apps that need to handle image uploads, reduce storage costs, and improve app performance by working with optimized images. It provides comprehensive functionality for single image compression, multiple image processing, camera integration, and base64 image handling.

Prerequisites

This plugin is specifically designed for mobile applications and requires: - Bubble mobile editor (not compatible with web applications) - Mobile device permissions for camera and gallery access - iOS or Android mobile device for testing
No external API keys or third-party services are required - the compression is handled entirely client-side for optimal performance and privacy.
To test the plugin on your mobile device, use the TestFlight app available at: https://testflight.apple.com/join/ArfXDQMZ
⚠️
Please note that the testing app is currently available for iOS only.
Image without caption

How to setup

Setting up the Image Compressor Bubble Mobile plugin is straightforward:
  1. Add the Element: Drag and drop the “Compressor” element onto your mobile page.
  1. Configure Permissions: Enable “Request permission on load” if you want automatic camera/gallery access when the element loads.
Image without caption
  1. Set Element Size: The element can be resized but serves as an invisible controller - you can make it very small (e.g., 20x20px).
  1. Configure Actions: Use the available actions in your workflows to trigger image compression operations.
  1. Handle Events: Set up workflows to respond to compression completion or error events.
  1. Test: Use the mobile preview or native app testing to verify functionality.
The plugin works entirely on the client-side, requiring no server configuration or external API setup.

Plugin Element - Compressor

The plugin contains one visual element that serves as a controller for all image compression operations.
Image without caption

Fields

Element Actions

The plugin provides five powerful actions for different image compression scenarios:
1. Select & Compress Single Image
2. Compress
3. Select & Compress from Camera
4. Select & Compress Multiple Images
5. Reset

Exposed States

Element Events

Workflow example

Here are common workflow examples to help you get started with the Image Compressor plugin:

Basic Single Image Compression

Camera Integration

Multiple Image Processing

Error Handling

Image without caption

Changelogs