2 images with different sizes in a table row

2004-09-03 Thread Sven Waibel
Hello,

i've two images with different sizes, one 2cm the other one max. 2cm.

Table-row
---
| Image1  |Image2 |
---


So should be the height 2cm, but it doesn't work:
fo:external-graphic src=y:\bilder\im_2cm.jpg content-height=2cm/

I also tried to limit the height of the table row with
fo:table-row height=2cm
but this doesn't work, too.

Does anybody know a solution?

Thanks in advance

Sven

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: 2 images with different sizes in a table row

2004-09-03 Thread Chris Bowditch
Sven Waibel wrote:
Hello,
i've two images with different sizes, one 2cm the other one max. 2cm.
Table-row
---
| Image1  |Image2 |
---
So should be the height 2cm, but it doesn't work:
fo:external-graphic src=y:\bilder\im_2cm.jpg content-height=2cm/
content-height attribute hasnt been implemented. Try height instead.
snip/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: 2 images with different sizes in a table row

2004-09-03 Thread Sven Waibel
It doesn't work.

I don't understand it.

Sven

Chris Bowditch wrote:

 Sven Waibel wrote:
 
 Hello,

 i've two images with different sizes, one 2cm the other one max. 2cm.

 Table-row
 ---
 | Image1  |Image2 |
 ---


 So should be the height 2cm, but it doesn't work:
 fo:external-graphic src=y:\bilder\im_2cm.jpg content-height=2cm/
 
 
 content-height attribute hasnt been implemented. Try height instead.
 
 snip/
 
 Chris
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: 2 images with different sizes in a table row

2004-09-03 Thread Chris Bowditch
Sven Waibel wrote:
It doesn't work.
I don't understand it.
What behaviour are you observing? What is the dpi of your image? Without 
width/height specified, FOP defaults to 72dpi and sizes the image accordingly. 
 To scale your image to a particular size, I find that specifying both width 
and height on fo:external-graphic works for me.

snip/
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: 2 images with different sizes in a table row

2004-09-03 Thread Sven Waibel
That's it.
The first image was 72dpi but the other not.
Now i changed it to 72dpi and it works.

Thanks
Sven

Chris Bowditch wrote:

 Sven Waibel wrote:
 
 It doesn't work.

 I don't understand it.
 
 
 What behaviour are you observing? What is the dpi of your image? Without
 width/height specified, FOP defaults to 72dpi and sizes the image
 accordingly.  To scale your image to a particular size, I find that
 specifying both width and height on fo:external-graphic works for me.
 
 snip/
 
 Chris
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]