Add a “Get design Thumbnail image” Button to Beefree SDK
Learn how to enable end users to export their designs as an Image by adding a simple button to your UI.
Why Export a Thumbnail Image?
Project Map: Where to Look in the Sample Project
File
Purpose
What You’ll Learn
Data Flow Diagram
+----------------+ +----------------+ +---------------------+
| | JSON | | HTML | |
| Beefree SDK | → | Node Proxy | → | Content Services |
| (Frontend) | | (proxy-server) | | API (/image) |
| | | | | |
+----------------+ +----------------+ +---------------------+
| | |
| | v
| | PNG image (binary)
| | |
v v |
+-------------------------------------------------------------+
| Frontend UI (React App) |
| "Get design Thumbnail image" → preview + Download link |
+-------------------------------------------------------------+Prerequisites
Step 1: Clone the Project
Step 2: Proxy Server (LoginV2 + Image Forwarder)
Step 3: Vite Dev Proxy (Frontend → Proxy)
Step 4: Initialize Beefree SDK and Track JSON
Step 5: Add the “Get design Thumbnail image” Button
Step 6: Display the Image + Download Link
Running the Sample
Troubleshooting
Learn More
Key Takeaway
PreviousAdd a “Get design PDF” Button to Beefree SDKNextAdd a “Get design Plain Text” Button to Beefree SDK
Last updated
Was this helpful?

