Welcome Guest Search | Active Topics | Sign In | Register

Image links not working Options
LeeJ
Posted: Wednesday, August 15, 2012 10:40:27 AM
Rank: Newbie
Groups: Member

Joined: 8/15/2012
Posts: 2
I am converting a URL with image links within it. These display on the page fine and the markup is correct. However when I convert to PDF, the links around them are stretched and incorporating other text within the page. I tried setting the height of the link to be fixed to the height of the enclosed image, and this stops the link being spread out, but instead puts the link behind the image. So the image is no longer a link, but either side of it the link is present. I am using version 3.0.124.2.
eo_support
Posted: Wednesday, August 15, 2012 10:59:39 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

I believe this was an issue that has been fixed in the latest version. Please download the latest build from our download page and that should fix the problem for you.

Thanks!
LeeJ
Posted: Thursday, August 16, 2012 9:09:30 AM
Rank: Newbie
Groups: Member

Joined: 8/15/2012
Posts: 2
Ok i've updated to the new version and my licence key is no longer working, how do we go about getting an updated one. Also links are now not underlining, and when hightlighted with css are still encorporating text around them
eo_support
Posted: Thursday, August 16, 2012 9:17:53 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

The link underlying seems to be an issue. We will look into it and get back to you as soon as possible.

As to the license, you can revisit your license key page. You have purchased it very recently, so the license key page should provide you a new key automatically.

Thanks!

eo_support
Posted: Thursday, August 16, 2012 11:20:46 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

We have posted a new build that fixed the link underlying issue. Please download it from our download page.

Thanks!
UniTech
Posted: Monday, August 20, 2012 5:38:50 AM
Rank: Newbie
Groups: Member

Joined: 8/16/2012
Posts: 4
Hi,

Thanks for the fixes. Still have one outstanding issue, when colouring links within text via css, the colour speads to text within the sentence before the link, so the actual link is green and underlined but the copy before it is also green. Could you have a look at this?
eo_support
Posted: Monday, August 20, 2012 9:28:09 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

We tested it and it works fine. Can you post a test page? Make sure your test contains only code needed to reproduce the problem.

Thanks!
UniTech
Posted: Thursday, August 23, 2012 7:22:27 AM
Rank: Newbie
Groups: Member

Joined: 8/16/2012
Posts: 4
Here is the html before conversion

<p class="SRNormal" xmlns="http://www.w3.org/1999/xhtml">In this section of our report, we show how we’re working hard to improve the service we deliver to customers. Our <a href="/Responsiblebusiness/Ourstory/Sustainabilityreport/report/report/mat.aspx">materiality review</a> showed customer service to be our top priority as a business.</p>

Once this is converted the following is highlighted

In this section of our report, we show how we’re working hard to improve the service we deliver to customers. Our materiality review

So the link is highlighted correctly with an underline, but the text is also highlighted green. The css is as follows

.colourThemegreen .box .content li a, .colourThemegreen p a
{
color:#69bc2d;
}

Standard stuff just to highlight links

Conversion c#:-

HtmlToPdfOptions options = new HtmlToPdfOptions();
options.GeneratePageImages = true;
options.PreserveHighResImages = true;
options.SaveImageAsJpeg = true;
options.JpegQualityLevel = 100;
options.AutoAdjustForDPI = true;


HtmlToPdf.ConvertUrl(authority + path + clientId, response.OutputStream, options);
eo_support
Posted: Thursday, August 23, 2012 7:49:27 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

The text should be highlighted for a link right? Have you checked your page in a browser (use Google Chrome to check)? If the browser does not highlight and we highlight it, then you can try to isolate the problem into a self contained HTML file (with everything such as CSS in the HTML) and post that file, we will then run that file and see if we can see the problem.

Thanks!
UniTech
Posted: Thursday, August 23, 2012 9:29:52 AM
Rank: Newbie
Groups: Member

Joined: 8/16/2012
Posts: 4
Yes the link highlights with the underline which is correct

So the html within the paragraph when viewed through a browser is doing the correct thing which is this:-

In this section of our report, we show how we’re working hard to improve the service we deliver to customers. Our materiality review showed customer service to be our top priority as a business.


However within the pdf the text looks like this:-

In this section of our report, we show how we’re working hard to improve the service we deliver to customers. Our materiality review showed customer service to be our top priority as a business.



So the link is highlighted by the underline and is behaving correctly, however addition text preceeding it is highlighted when a color is applied to the link.
eo_support
Posted: Thursday, August 23, 2012 9:37:20 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

Did you try to verify your page with Google Chrome browser?

Thanks!
UniTech
Posted: Thursday, August 23, 2012 10:46:38 AM
Rank: Newbie
Groups: Member

Joined: 8/16/2012
Posts: 4
Hi

Checked in chrome and the issue was there (didnt show at all in IE ?!! what a surprise...) and was to do with the autobookmark option adding bookmarks around this peice of text. All fixed now.

Thanks for all your assistance with the other issues, you have been a great help
eo_support
Posted: Thursday, August 23, 2012 11:11:55 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
You are very welcome. Glad that you found out the root cause. Please feel free to let us know if there is anything else.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.