Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Everytime I try to put an image into my PDFview content, there is a forced line break right after the image.
So for my series of thumbnail images, they appear one-per-line, and it looks quite sloppy.
I know the table layout idea doesn't work. What are my options?
Comments
Comment #1
panis CreditAttribution: panis commentedextend pdfview or hack tcpdf to skip line break after the 'img' tag.
Comment #2
seutje CreditAttribution: seutje commentedI take it that u found a solution, considering the changelog of tcpdf reads
meaning u can just pass align='top' in ur img-tag to the pdfview_html theme function and it'll place ur images on the same line
even though it's been ages since u posted this issue, I still felt like posting this solution, since ppl (like me) still end up here after hours of googling
I'm using the PDFview module because i'm forced to use D5 instead of D6 and I'm trying to make a proper pdf generation of my ubercart product pages
maybe useful to some(in template.php):
this spits out a somewhat decent PDF version of a product node
I know it's messy, but it works >:D
hope it helps some1 but myself and my client :p
Comment #3
danielb CreditAttribution: danielb commentedThanks, I'll be sure to come back here next time I have to build one of these monstrosities.