Hi @chris7, oh “that plugin”, its nearly completed but gathering dust, it dropped off my priority queue somehow, with the excitement of other stuff.
To upload to Bubble as an image requires either an API call, or using a function in the plugin.
I notice you have two Save buttons, really you only need either the one in the HTML box, or the Bubble button. If it makes sense to have both, perhaps label them differently from each other?
Nah I haven´t got it to work, I wish i had!! not quite sure how to use API calls, gonna keep investigating. PLEEEEAAASSSEEEE finish the plugin, prettttty pleaseeee?
Do you mean the property under the “make this file private”? That requires (any) existing row in the database, and is only needed if you want the file to be “private”, similar to Bubble’s file/image uploader.
To expand on how to use private file uploads in general … what you want to happen is this sequence:
A record or “thing” is created to save the private upload onto.
The record is passed into the options, usually with a dynamic search.
The upload to S3 is triggered, in this case using the “save” action.
When the upload has finished, the “is saved” event triggers.
At this point, a URL to the upload in S3 is available.
The URL can now be stored in the database, it can be stored on a “file” or “image” type.
OK, I’m lost. I’m looking to have a signature pad added to my PHP/JS Tablet/desktop app and store some form of its image into MySQL. I opened the example (https://signature-pad-example.bubbleapps.io/) and captured the “source code”. I loaded that into my Orange Pi Debian 8 server. I called it up on FireFox and the Signing takes place, but when I click Save, I get a message “Sorry , but we’ve encountered a temporary error,… please try again later” (or close to that). What did I miss capturing? The “after” source on your server is the same size, but about 15 lines actually changed.
I looked at the “Plug In”, but just what is the process of adding a plug in? I clicked the “See Plug in Code” button, but its not code to put some more links to links. Help, please? This is a volunteer project for a program that encourages and rewards Middle and High School students to became proficient in STEM!
PS: MySQL data type “Long Text” can handle text much bigger than any Browser’s URL entry field (;-
Thanks for answering szimek. I like the friendliness here.
I went to signature_pad/js/app.js at gh-pages · szimek/signature_pad · GitHub and copied the code there. Since it was just the JS code, I put it into a minimal amount of HTML as a function to be called by a pushButton control. Sadly nothing, not even an entry in /var/log/apache2/error.log! Then I added the library reference suggested on the github.com page. Still no response. See attachments for my code and “results”.