Rank: Newbie Groups: Member
Joined: 12/30/2013 Posts: 1
|
Hello.
We allow our users to create HTML content (with CKEditor) and then export it to PDF or Word using EO. Users can upload any image size they want. We found out that if HTML contains an image with large dimensions, the entire HTML markup gets scaled down to fit page width. This also scales down text which becomes unreadable due to its super small size. Html below is my test case.
<p>Who just downsized me? I just want somebody to notice me!</p> <p></p> <p><input alt="" src="https://www.google.com/images/srpr/logo11w.png" style="width: 4000px; height: 3000px" type="image" /></p>
What would be my options to keep text intact and scale only the content that does not fit?
Thanks, Lucas
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi, The converter will not scale just a portion of the page because then the page layout would change. The whole page is always scaled as a whole. However you can turn off scaling: http://www.essentialobjects.com/doc/4/htmltopdf/auto_fit.aspxHope this helps. Thanks!
|