How to Use It (Bubble-Friendly Instructions)
Step 1 — Add the element
Place Advanced File Upload Validator on your page (can be hidden).
Step 2 — Connect a FileUploader
Connect the FileUploader’s value to the plugin’s file input.
Step 3 — Configure your rules
Set options like:
Max file size after optimization
Minimum width / height
Allowed aspect ratio
Allow screenshots (yes/no)
Max resize width
Image quality
Strip EXIF metadata
Normalize filenames
Step 4 — Process the file
(When file uploader's value hase changed)--->Trigger the Process file action
The plugin will:
Read image metadata
Resize and compress the image
Enforce all validation rules
Normalize the filename
Output a clean File object
Step 5 — React to the result
Use exposed states:
is_allowed
reject_reason
optimized_file
final_size_bytes
saved_percentage
Only save the file when is_allowed = yes.
EDITOR:
https://bubble.io/page?id=teestip&test_plugin=1766521146448x258264417868185600_current&tab=Design&name=advanced_file_upload_validator&type=pagePreview page:
https://teestip.bubbleapps.io/version-test/advanced_file_upload_validator