Brinley Ang
Brinley Ang
Try adding a css height for fixed height or min-height for something responsive on #signature
@ipeevski are you able to inspect the element to see if theres any css causing it to be squished?
On resize is a work around. I believe that you should beable to force the signature's containiner to a certain fixed width/height or perhaps a if you need something semi...
How are you implementing this? I recall a similar issue being report years ago when jSignature was being used jQuery mobile. It turns out that the signature was being initialised...
How would you envision this to work? Do you have the signature canvas with the same aspect ratio?
Hey @durasj, I dont believe the solution would require any reprocessing of the image data if aspect ratio is kept. I suspect it would be as simple as modifying getPointFromEvent...
It sounds like you did not include the base30 plugin in addition to the jSignature plugin.
jSignature.CompressorBase30.js needs to be added before jQuery and jSignature library $sigdiv.jSignature("setData", "data:" + datapair.join(",")) should have worked. Can you compare what you get back from your backend to make sure...
You include jQuery first, followed by jSignature, then the plugins in this specific order and you run any code after this unless you wrap the code to initialise jSignature in...
There are 2 ways to pass it to the signature - via hidden input field as you have done - via $.post call to submit the form On Tue, Aug...