Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Acrobat producing erroneous file links when converting html href to PDF

New Here ,
Mar 13, 2025 Mar 13, 2025

I am having a problem regarding href handing when converting html files to PDF files using Acrobat.  My html file has a thumbnail image with an href link to a larger image.  The images and the html file are all in the same directory, let’s call it ‘foo’.  The href is simply: <a href="somefile.JPG">. 

When I create a PDF file from this html file using Google Chrome, everything works fine.  But when I use Acrobat, the file path is wrong.  The problem is easy to see.  The colon is being left off the drive identifier.  So when I click on the thumbnail in Acrobat, the link fails because it is looking for: file:///C/foo/somefile.JPG (colon missing), when it should be looking for file:///C:/foo/somefile.JPG (colon found).

I was using Acrobat for a few days and it seemed to be working fine.  But now every attempt to convert html files with hrefs to images produces this error (due to the ‘C’ not ‘C:’ issue).  I’ve searched extensively for a solution.  No luck.  Any ideas on how to correct this issue?  Thank you.

TOPICS
Create PDFs , Edit and convert PDFs , Modern Acrobat , PDF
115
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 14, 2025 Mar 14, 2025

Hi timothy_7939,

 

Thank you for reaching out.

 

Please let us know if the issue occurs every time you try to create the PDF file from the HTML file. Did you experience this behavior with this particular file or with all now?

Share the Acrobat and OS version number used on the machine. We will try to replicate the behavior in the same environment. 

 

Thanks,

Meenakshi

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 15, 2025 Mar 15, 2025
LATEST

Hello Meenakshi,

This error occurs every time I attempt to open a HTML file by selecting File->Create->PDF from File or File->Create-PDF from Web Page.  The error occurs for any HTML file I try to open.

My version of Adobe Acrobat 2020 is v2020.005.30763.
My version of Windows 11 Pro is 10.0.26100 Build 26100.

Thanks,

Tim

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines