MARKETPLACE
PLUGINS
WGD ELEMENT TO IMAGE
WGD Element to image logo

WGD Element to image

Published October 2023
   •    Updated December 2025

Plugin details

The WGD Element to Image plugin empowers your Bubble app to capture any visible page element and convert it into an image, instantly uploading it to your app’s file storage. Whether you're generating certificates, receipts, content previews, or custom graphics, this plugin lets you seamlessly transform on-page content into PNG or JPEG images—all via a single workflow action.
Powered by html2canvas, the plugin renders the DOM content as a canvas snapshot and supports output customization, including image format, quality compression, and dynamic file naming.

$9

One time

1.0 stars   •   1 ratings
8 installs  
This plugin does not collect or track your personal data.

Platform

Web & Native mobile

Contributor details

WGD Plugins logo
WGD Plugins
Joined 2021   •   60 Plugins
View contributor profile

Instructions

Step 1: Install the Plugin Open your Bubble app editor.

Go to the Plugins tab in the left sidebar.

Click “Add plugins”.

Search for “WGD Element to Image”.

Click Install.

Step 2: Prepare the Element to Capture
Go to the Design tab.

Find the group (or element) you want to capture.

In the ID Attribute field (under "Element ID" in the Property Editor), enter a unique ID—e.g., certificate-preview.

Make sure ID Attributes are enabled in your app by going to:

Settings > General > Expose the option to add an ID attribute to HTML elements → Enable this checkbox.

Step 3: Configure the Plugin Action in a Workflow
Go to the Workflow tab.

Create a new event (e.g., When Button is clicked).

Add an action: Plugins → WGD Element to Image.

Fill in the required fields:

group_id: The ID of the element to screenshot (e.g., certificate-preview)

file_extension: "png" or "jpeg"

image_file_name: Name of the image file, without extension (e.g., "user_receipt")

compression: (only applies to jpeg) A number between 0 (lowest quality) and 1 (highest)

attach_to_thing (optional): Choose a database thing to attach the file to

Step 4: Use the Result in Your App
After the plugin runs:

The following state is available:

This Element's file_url → This is the public URL of the generated image.

You can also use this event:

“When WGD Element to Image’s element_image_uploaded_to_app_storage is triggered”
→ This lets you run follow-up actions like saving the file URL to the database, showing a success message, etc.

Step 5: Test the Output
Preview your app.

Trigger the screenshot action.

The image will be uploaded to your Bubble storage and available via the file_url state.

Check your app file manager or use the file URL in an image element to verify it worked.

Types

This plugin can be found under the following types:
Element   •   Event   •   Action

Categories

This plugin can be found under the following categories:

Resources

Support contact
Documentation
Tutorial

Rating and reviews

Average rating (1.0)

It doesn't work
July 20th, 2025
It doensn't ever appear the option to add the element when it is the mobile version.
Thank you for your review. Note this is a web-based plugin that has been tested on Chrome. Please drop an email to [email protected], for any feedback and we can review to try an assist. (plugin author)
July 21st, 2025
  •  
WGD Plugins
Bubble