Colour logo in header, turns blue #102
-
Hi, We want to show a png/jpg logo image in the header. When using the following script in the left header template, the logo turns blue: Do you have any suggestions to fix this? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 2 replies
-
Could you please provide us with more details and your code? |
Beta Was this translation helpful? Give feedback.
-
Hi Sergey,
Thanks for your quick reply,
I have attached the total configuration and the logo.
The logo is stored at global level:
.polarion/icons
For the export we use the ProRail CSS and the Test Header and Footer.
Thanks,
Harry
…________________________________
From: Sergey Grigoriev ***@***.***>
Sent: 22 July 2024 12:13
To: SchweizerischeBundesbahnen/ch.sbb.polarion.extension.pdf-exporter ***@***.***>
Cc: Harry Julsing ***@***.***>; Author ***@***.***>
Subject: Re: [SchweizerischeBundesbahnen/ch.sbb.polarion.extension.pdf-exporter] Colour logo in header, turns blue (Discussion #102)
Could you please provide us with more details and your code?
—
Reply to this email directly, view it on GitHub<#102 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BJYDA4TUJUKAY67E5OMHN6TZNTLN7AVCNFSM6AAAAABLH7VEZWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJRGMZDKOI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi @HarryJulsing, |
Beta Was this translation helpful? Give feedback.
-
[ |
Beta Was this translation helpful? Give feedback.
-
Reply with attachments do not seem to work |
Beta Was this translation helpful? Give feedback.
-
Hi Sergey,
I added the attachments last week, were you able to do something with them?
Thanks,
Harry
…________________________________
From: Sergey Grigoriev ***@***.***>
Sent: 23 July 2024 14:05
To: SchweizerischeBundesbahnen/ch.sbb.polarion.extension.pdf-exporter ***@***.***>
Cc: Harry Julsing ***@***.***>; Mention ***@***.***>
Subject: Re: [SchweizerischeBundesbahnen/ch.sbb.polarion.extension.pdf-exporter] Colour logo in header, turns blue (Discussion #102)
Hi @HarryJulsing<https://github.com/HarryJulsing>,
I can not find any attachments.
—
Reply to this email directly, view it on GitHub<#102 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BJYDA4RWW6GJ7G637VPICZDZNZBG3AVCNFSM6AAAAABLH7VEZWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJSGU3TONY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi @HarryJulsing, the problem is related to that fact that WeasyPrint can not load image and in this case it renders it as alt text: <a href='https://www.prorail.nl/'>
<img src='/polarion/icons/group/ProRailLogo.png'
alt='ProRail'
style='height: 50px'>
</a> If you are using this code I suppose everything works as expected: <img width="100" src="https://lumiguide.eu/wp-content/uploads/2024/03/prorail.png"> I've reproduce your issue only using WeasyPrint as Service when the Polarion host can not be resolved in Docker container. If WeasyPrint is not able to load the icon you can find the following log entries:
If WeasyPrint Service is able to load the icon everything looks pretty good: Please let me know if it helps. |
Beta Was this translation helpful? Give feedback.
-
I have created the issue #112 |
Beta Was this translation helpful? Give feedback.
-
Hi Sergey,
This version has not been made available through the Polarion Extension site. The latest is V 5.1.2 .
How can I get that version, so we can install it on our own test environment first?
Thanks,
Harry
…________________________________
From: Sergey Grigoriev ***@***.***>
Sent: 30 July 2024 18:12
To: SchweizerischeBundesbahnen/ch.sbb.polarion.extension.pdf-exporter ***@***.***>
Cc: Harry Julsing ***@***.***>; Mention ***@***.***>
Subject: Re: [SchweizerischeBundesbahnen/ch.sbb.polarion.extension.pdf-exporter] Colour logo in header, turns blue (Discussion #102)
Hi @HarryJulsing<https://github.com/HarryJulsing>,
could you please try with the just released PDF-Exporter v5.6.0 ?
It should solve the problem with image rendering in header/footer.
—
Reply to this email directly, view it on GitHub<#102 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BJYDA4TGXERYZ5RJLELDTGTZO63NRAVCNFSM6AAAAABLH7VEZWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJZGI3TGMY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Hi @HarryJulsing,
could you please try with the just released PDF-Exporter v5.6.0 ?
It should solve the problem with image rendering in header/footer.