Watch the tutorial

Follow the technician’s offline workflow, then see where to install the plugin, bind the viewer’s fields, and connect the Bubble actions.

Field demo 0:00 · Bubble setup 0:41 · Workflows 1:30

Download the 2:08 tutorial (MP4)

Add it to your app

  1. In your Bubble app, open Plugins → Add plugins and search for Smart Offline Images to install the free plugin.
  2. Open the existing inspection, work order, or photo view in Mobile → Design. Add the Smart Offline Images element.
  3. Keep your app’s existing buttons and layout. Give the viewer room for the image and controls. The example uses a responsive width and a height of 344 px.

Set the viewer fields

  • Package ID. Use a stable value, such as Current Inspection's unique id.
  • Image URLs. Bind an ordered list of public HTTPS JPEG, PNG, or WebP URLs. For Bubble’s list of images, use Current Inspection's Photos:each item's URL. Bubble URLs that start with // are converted to HTTPS.
  • Image number. Leave it blank for the gallery. Set a number starting at 1 to show one saved photo within your own layout.
  • Theme mode. Leave it blank to follow the device. Bind light or dark to match an app theme. Set Accent color for the gallery controls if needed.
  • Storage limit (MiB). Default 100 MiB across all packages in the app on that device.

Connect your workflows

  • Download package saves missing images. Run it again to retry pending photos after a failed or interrupted download.
  • Query package reads the local counts, readiness, failed URLs, and error code.
  • Delete package clears the selected package and frees its storage.

Choose the same viewer in each workflow. Use Ready offline, Downloaded count, and Failed image URLs in your own Bubble conditions. A storage_limit error means the device’s configured image cap was reached.

Test offline use

  1. Open the demo editor and choose Preview → Simulated device.
  2. On Bridge Inspection #1042, tap Download for offline use and wait for 3 of 3 photos saved on this device.
  3. On Android, turn on airplane mode with Wi-Fi off. Return to the same work order, open another photo and try Remove download.

The Android simulated device passed the airplane-mode flow. The iOS simulated device passed download and reopening the work order with connectivity. Force-quit and relaunch in iOS airplane mode still needs a device test. Opening a saved image requires the host app to make its viewing screen and package ID available offline.

Storage and privacy

The plugin requires no API key or paid image service. It downloads images directly from the URLs your app supplies and stores them in the app’s private, persistent files. Each package supports up to 500 distinct URLs and preserves the source order. Image hosts receive the network request during download. The plugin does not upload images, sync records, or collect analytics.