Hi,
I just witnessed a strange behaviour.
I have a big image in my wiki page and for the PDF export I want it to fill 100% of the text area (text area = that width that can be filled with text, not the same as full width of the page).
But whatever I try, the image is too small and ends at about 4cm before the right margin of the PDF.
I included ridiculously big images with 3000px width, changed the image width in the source code, set the image width in the PDF to 100% (as described at Expanding embedded images on PDF exports?) and then erased everything I had in my PDF stylesheet but nothing changes.
Is there some kind of limit that can not be extended because that is how it seems?
This is a known issue. See https://jira.atlassian.com/browse/CONF-33727
The workaround in the global PDF Stylesheet worked for me (See comments):
.confluence-embedded-image { -fs-fit-images-to-width: 100% !important; }
There is a price for everything in life !
I just found out that now that I have included the code from above I have created a new problem:
==> (Some) images within table cells disappear when the page is exported to PDF.
It is all a bit complicated:
In the end it seems to come down to some new fancy workarounds:
PS: I am aware of that bug report at https://jira.atlassian.com/browse/CONF-31874 What it describes is similiar but not exactly the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you mean to resize image after PDF processing? Do I need another 3rd party toolits to help with it? Any suggestion will be appreciated. Thanks in advance.
Best regards,
Salvatore
-------------------------------------
Tags: resize image
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, I was talking about something else.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot, Jobin. Perfect answer for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.