Closed TomatoesMan closed 2 years ago
background-image
I'm not sure what is meant by "inserted picture"? Pictures/photos aren't meant to be used with this component. If you are trying to use a picture as a background for the signature, I might suggest using the CSS background-image
property instead.
fromDataURL
? Upstream limitationDid you mean a data URL inserted by fromDataURL
? If so, there is unfortunately no way to add an offset to the dataURL due to an upstream limitation in signature_pad
. On this line upstream, the offsets are hard-coded to 0
unfortunately.
That being said, https://github.com/szimek/signature_pad/pull/538 added support for offsets and was recently released with v4.0.0. So once we upgrade to v4.0.0, it will be possible to add offsets to fromDataURL
's options
parameter, if that's what you were looking for.
Closing as stale
How to change the position of the inserted picture?