Hello, nice module.
So, I'm having anissue with images. I'm placing an image (from an image field) and sizing it. But when the image is on the PDF it pushes everything down to a second page and doesn't show the PDF background I have set. So page one is blank with the template background, and page two has all my fields without a template background, just white. Any suggestions on why this is happening?

I have tried to resize the image before upload with the same result. When I turn off image, it goes back to normal.

Thanks for your help.

CommentFileSizeAuthor
#1 product_tag_card_large.pdf456.68 KBjberg1
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jberg1’s picture

FileSize
456.68 KB

Update.
The only way I can get the image to overlay the background is set its position to be relative to header/footer. Then it floats over the background. However a new problem arises that a second page is output with the image on there twice slightly offset and overlapping each other.

So close. Thanks for any help.

jberg1’s picture

I think I solved my own issue. Turned out to be the image size that was the problem (even though I set width on each field - using PDF Unformatted). So I am using ImageStyle in Drupal7 (formally imageCache) to create a smaller image that fits. That fixed it. Now I can place it relative to page or whatever and it overlaps the background fine.

Nice plugin but takes some work to perfect it. I saw future updates include a better UI. I'm all for that! And maybe some expanded capability of styling (line-height or leading needs work). I can't get any of the Render settings to work, even the example given fails to work.

Hopefully my self help session helps someone else.

jberg1’s picture

Status: Active » Closed (fixed)

closed

Rustan’s picture

Anyone having issues with image, this seems like the best solution.