Zip File Generator/Reader
Aqsa Fatima
Last Update één jaar geleden
Description:
The Zip File Generator/Reader plugin empowers Bubble.io users to seamlessly manage zip files within their applications. This versatile plugin allows users to:
- Generate Zip Files: Bundle files or data into a single, unique zip file that can be downloaded directly to the user's computer, perfect for exporting reports, sharing multiple files, or archiving content.
- Read Zip Files: Easily upload zip files, extract their contents, and display the files contained within, such as text, images, or other file types, directly in your application.
With its wide range of functionalities, the plugin supports use cases like document management systems, file-sharing platforms, and applications requiring compressed file handling. It provides an intuitive interface for both generating and interacting with zip files, ensuring smooth integration into any Bubble project. Whether you're streamlining file exports or enabling efficient file uploads and extraction, this plugin offers the tools to elevate your Bubble.io application.
🔗 Demo Page: https://chakor-plugin-demo-6.bubbleapps.io/version-test/zip_file_generator_reader
Our team is available to solve any problems or questions you may have, please open a thread on our support forum: https://forum.thechakor.com/t/plugin-issues
Instructions (Zip Reader):
- Drag the "Zip Reader" element from the plugin list onto your page.
- Create a workflow to trigger the "Zip Read" action. Typically, this would be linked to a button or file upload event where the user selects the zip file to be read.
- The "Zip Reader" element exposes the following states:
- names_of_files
- base_64_files
- zip_name
- zip_size
- zip_last_modified
- names_of_files
- To display these states, use text elements or any other relevant UI elements on your page and bind them to the respective exposed states of the "Zip Reader" element. For example:
- For displaying file names: Bind a text element to the
names_of_files
state. - For displaying zip file details: Bind a text element to the
zip_name
, zip_size
, and zip_last_modified
states.
- For displaying file names: Bind a text element to the
names_of_files
- Place a Repeating Group on the page to show the images extracted from the zip file.
- Set the Data Source of the Repeating Group to the
base_64_files
state of the "Zip Reader" element.
- Inside the Repeating Group, add an Image element to display each image.
- For the image source, pass the following dynamic value:
- data:image/png;base64,Parent's group text
(replace "Parent's group text" with the actual text field that holds the base64-encoded image data).
- data:image/png;base64,Parent's group text
Instructions (Zip Generator):
- Use the action zip files
- Seperate the files urls using comma
- or Directly mention the files in database or Option sets
