Size of images in generated PDF

Matthijs

Member
Hi, can you help me with this:

I use a PDF template, which includes this code:
<tr><td><strong>Foto 1</strong></td><td><strong>Foto 2</strong></td></tr>
<tr class="photo-row"><td><br>dadabik_field foto_1 dadabik_field</td><td>dadabik_field foto_2 dadabik_field</td></tr>

So it has two images: foto_1 and foto_2

I use this css:
.photo-row img {
max-height: 60px;
width: auto;
max-width: 100%;
}

But the css is not appplied. And my problem is that with portrait images, the image is sometimes too large and moves to a second page.

Is there a way I can control the height of the included image?

Your current DaDaBIK version​


You are using DaDaBIK version 11.12-Elba enterprise, installed on 10-12-2023 (installation code: 18828644e443ac0e33), the latest version of DaDaBIK is 11.12-Elba released on 30-11-2023

You are running the latest release of DaDaBIK

In case you want to upgrade to a more powerful edition (from Pro to Enterprise/Platinum, from Enterprise to Platinum) please contact us.


System info​


PHP Version: 7.4.33


mysql version: 5.5.5-10.6.17-MariaDB


Web server: Apache/2


Client: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0
 
Top