Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I have a lot of images and I would like to place to the PDF. Two images in one row.The first page is perfect, but from the second page every images go wrong, just one image within the row.Here is my code, maybe somebody notice someting.
<fo:flow flow-name="xsl-region-body"> @foreach (var category in @CurrentPage.Children.Where("Visible").OrderBy("Name")) { <fo:block margin-bottom="5mm"> <fo:external-graphic src="@docRoot/@category.Url" content-width="9cm" /> </fo:block> } <fo:block id="last-page" keep-together.within-page="auto"></fo:block></fo:flow>
Thanks
Somehow I managed with an empty inline element before the image:
foreach (var categoryImage in categoryImagesCollection.Where("Visible").OrderBy("Name")) { <fo:block margin-bottom="5mm" keep-with-next.within-page="always"> <fo:inline></fo:inline> <fo:external-graphic src="@docRoot/@categoryImage.Url" content-width="9cm" content-height="scale-to-fit" /> </fo:block> }
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Images from the second page is wrong
Hi,
I have a lot of images and I would like to place to the PDF. Two images in one row.
The first page is perfect, but from the second page every images go wrong, just one image within the row.
Here is my code, maybe somebody notice someting.
Thanks
Somehow I managed with an empty inline element before the image:
is working on a reply...