Linking to a PDF image

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
IFU
Propeller Head
Posts: 48
Joined: Tue Dec 05, 2017 5:28 pm
Location: Vancouver BC

Linking to a PDF image

Post by IFU »

When I insert an image link to a PDF file, Flare appends #1 to the extension and the HTML output is much lower resolution than the original PDF file.
For example, the filename is catheterFlushingSystem.pdf but when I use the Insert Image command, Flare changes the filename to catheterFlushingSystem.pdf#1

<img src="../Images/catheter/catheterFlushingSystem.pdf#1" />

If I edit the XML directly in Flare and remove the #1, Flare can't display the image at all.

In the HTML output, the pdf file is automatically converted to a low resolution png file

Any thoughts on what is happening? Perhaps it's not possible to use a PDF file directly for an image file?

Thanks
Isabelle
IFU
Propeller Head
Posts: 48
Joined: Tue Dec 05, 2017 5:28 pm
Location: Vancouver BC

Re: Linking to a PDF image

Post by IFU »

I ended up taking a screen capture of my high-res PDF file, saving the screen capture as a PNG, and inserting the PNG image into my Flare topic. A weird thing to do but it worked.
ChoccieMuffin
Senior Propellus Maximus
Posts: 2632
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Linking to a PDF image

Post by ChoccieMuffin »

Another approach you can take is to include a LINK in your topic to the PDF.

1. Include the PDF in the \Content folder. You can have a sub-folder if you like.
2. In your topic, link to the PDF.
3. When you generate your output, the PDF is included in your Output folder. Make sure that you always include that PDF in the same location when publishing or copying the outputs to another location.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Post Reply