-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to save image after editing from canvas to database in livewire? #764
Comments
not sure what livewire is but you should look at the docs at https://github.com/szimek/signature_pad#handling-data-uri-encoded-images-on-the-server-side |
It is mean i using in laravel, in. Canvas i see image but how save this
image in database
…On Thu, Mar 28, 2024, 5:27 AM Tony Brix ***@***.***> wrote:
not sure what livewire is but you should look at the docs at
https://github.com/szimek/signature_pad#handling-data-uri-encoded-images-on-the-server-side
—
Reply to this email directly, view it on GitHub
<#764 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZMOQYHKMTTOKPQOSAD2UTTY2N5XTAVCNFSM6AAAAABFL2EUDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUGI4DOMJWHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hey @Frman-Husein I found this great example of how to do achieve this with Alpine and Livewire: https://gist.github.com/jonneroelofs/a4a372fe4b55c5f9c0679d432f2c0231 Basically, you can wrap signature_pad in an alpine.js instance, then you can wire:model the state of the canvas with Livewire. |
how to save image after editing from canvas to database in livewire?
The text was updated successfully, but these errors were encountered: