Project:Fill PDF
Version:6.x-1.6
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

Aha, 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.

#2

Or, 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.

#3

I 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.

;)

#4

Title:Support for images?» I too need the image support

This 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

#5

Version:5.x-1.x-dev» 6.x-1.x-dev

Any news about this issue? I really like this module, but I desperately need the image feature.
So is it even possible to add that?

#6

Sorry 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)

#7

Priority:normal» critical

Ok, 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.

#8

Title:I too need the image support» Image support
Priority:critical» normal
Status:active» needs review

What 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:

  • Create a FillPDF form (/admin/content/fillpdf) from a PDF doc containing an image/button/push-button field
  • Create a content-type with an imagefield, then create its node
  • Map the two together via the token, using field-id.
    • Go to /admin/content/fillpdf/{form_id}/edit/{field_key}
    • enter [field_logo-filefield-fid], or whatever your token for field-id is
  • Merge ala yoursite.com/fillpdf?fid=1&nid=1

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.

#9

comment repeated, woops

#10

Version:6.x-1.x-dev» 6.x-1.6
Status:needs review» fixed

alright, it's coming from byte[] arrays now rather than urls, we should be in business

#11

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.