[reportlab-users] Two Images next to each other
Andy Robinson
andy at reportlab.com
Tue Apr 15 05:11:20 EDT 2014
Why "without tables"? A table is exactly the proper way to line
things up next to each other...
There is a general "tables are evil" meme circulating which came from
the CSS world and the desire to have responsive layouts which
resize/reshuffle as browsers shrink. But paper has a known size.
Just make a table style with no borders and it becomes very easy.
- Andy
On 15 April 2014 10:04, Tobias Greitzke <tobias.greitzke at togis.com> wrote:
> Hello,
>
> I need to put a bunch of images at the end of a document where I want to
> place the images left to right next to each other.
>
> I use platypus to build the pdf and so far I managed to put them in a two
> column frame with ParagraphAndImage. But unfortunately that's not what I
> need. I want them left to right and not like in the two column frame top to
> bottom. Also I would like to put a text under each image. This is what I got
> so far:
> http://fsp.humedica.org/e01/e011/report.pdf?rs=1424
>
> Is there a proper way to do this without tables? I'm thinking of something
> like a 50% frame that holds the Image and a Paragraph after each and then is
> placed as a flowable into the document. But I can't figure out how to do
> that.
>
> Can anyone give me a hint?
>
> Thanks,
> Tobias
>
> --
> tog.is - information design
>
> Tobias Greitzke
> Johannes-Mynsinger-Weg 18
> 89075 Ulm
>
> Tel: +49 (0)731 / 509 4567
> Fax: +49 (0)731 / 509 4568
> Mobil: +49 (0)163 / 632 32 60
> Skype: tobias.greitzke
>
> http://www.togis.com
> tobias.greitzke at togis.com
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at lists2.reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
--
Andy Robinson
Managing Director
ReportLab Europe Ltd.
Thornton House, Thornton Road, Wimbledon, London SW19 4NG, UK
Tel +44-20-8405-6420
More information about the reportlab-users
mailing list