Re: Two Images next to each other

Andy Robinson <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <CABjtApu-3DNiC=0hR=ACXRgbHhoW4b9rtPBbaTsT+2yOrYJePA@mail.gmail.com>
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 <[email protected]> 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
> [email protected]
> _______________________________________________
> reportlab-users mailing list
> [email protected]
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.