Is it possible to add images to the forms, or the PDF? It would be cool to create membership cards automatically with this module.
Best regards,
Paul
Is it possible to add images to the forms, or the PDF? It would be cool to create membership cards automatically with this module.
Best regards,
Paul
Comments
Comment #1
lefnire commentedAha, i hadn't even thought of that. IF acrobat forms can take images as user-input & can thereby be placed in an XFDF document, then this function can be added. I'll look into this & see what acrobat's got available.
Comment #2
pkej commentedOr, optionally, if you can merge several files, why not just put the image(s) on separate files for merging. Of course the module would have to add settings to the imagefield in cck to set the x,y coordinates to put the images when used in conjunction with a form.
Comment #3
pkej commentedI can even see inclusion with the http://drupal.org/project/datamatrix module. Ie. you create a contract (as is my use case) and let the user print it, the user will sign the contract and send it scanned per e-mail in return (or by snail mail). Then a utility module could take the scanned contract, check the datamatrix and add the contract to the original node.
;)
Comment #4
acushla commentedThis is an excellent module. I have bene trying to use t to generate custmised posters for blood donation drives. The text data is integrated like a charm. If you could add the image support as well, it will be a great help.
Cheers
Rajat
www.sankalpindia.net
Comment #5
ezeey commentedAny news about this issue? I really like this module, but I desperately need the image feature.
So is it even possible to add that?
Comment #6
lefnire commentedSorry guys, I absolutely don't have any time for this module for the next month or two. I'll hit the issue queue as soon as I have a breather (probably 1mo from now)
Comment #7
lefnire commentedOk, seems totally doable, and it's my next TODO. I just need to figure out how to send a variable number of arguments via xmlrpc -- or to properly translate one argument passed as an array of objects... so that i can send multiple Base64 images. Anyway, ignore my rambling (unless you know what to do), the short of it is that iText is fully capable of this.
Comment #8
lefnire commentedWhat what! Image support in the hizzle!
-dev has image support (upcoming 6.x-1.6 release); however, it will only work for internet-accessible sites (aka, non localhost websites). The reason is that the iText-stamped image field uses a URL rather than image from bytes (I'm still working on getting the latter working, which would be preferable).
Ok, so steps:
Play with this, I'll be working on creating the image from a byte-array so you don't have to have a live site to make this work. Then I'll creat a 1.6 release soon.
Comment #9
lefnire commentedcomment repeated, woops
Comment #10
lefnire commentedalright, it's coming from byte[] arrays now rather than urls, we should be in business