Forum How do I...?

Images and two column layout

hamzakc
Hi,

I have a pdf which is being generated into a two column layout. Everything works fine. However if there are any images in the article it automatically resizes the image to fit in the column.

But I want it to either span the image over the two columns, so it is showing full size (not too concerned with the text wrapping around), or to break out of the column for the image and then resume the two column layout.

Is this possible ? If so I would appreciate any pointers.

Thanks.
Hamza
mikeday
Prince doesn't yet support the proposed column-span property, so the only way to achieve this layout at the moment is to separate the columns into two elements:
<div style="columns: 2">... column text ...</div>
<img src="image.jpg"/>
<div style="columns: 2">... text continues ...</div>

We hope to support column spanning in the future which will make this easier.