In line PDF display from an HTML document

I just switched PCs and copied my config from the old to the new. I have some HTML documents that point to folders for attachments in the HTML.

The issue. On the old PC when I clicked on the thumbnail the PDF or whatever would open in the DOpus viewer pane, replacing the HTML page. On the new PC a file download dialogue opens with sort of a ghost dialogue behind it. Image attached. So I could open the file from here I suppose to view the PDF.

image

Again, exported/imported the config from the old PC. Thanks.

You probably haven't installed a PDF viewer (that includes a preview handler) on the new machine.

Do PDF documents display in File Explorer? They will use the same viewers in general.

A PDF file by itself in a folder displays fine in DOpus Viewer Pane. If I go to the folder for the attachments of the HTML file the PDF displays fine.

The issue is clicking on thumbnail for the PDF in the HTML file causes the dialogue to appear. I separated the two dialogues and the hidden box is on the top.

I'm not sure why there is an attempt to download the file as it already exists on the c drive. The new PC is a Windows 11 machine, the old a Windows 10. Both PRO.

EDIT: It appears to be trying to do a web link instead of a local file link?

One of your old PDF viewers must have installed a plugin that gave Internet Explorer PDF viewing capabilities, while your new ones haven’t (or the one that added that hasn’t been installed at all, perhaps).

It’s not something Opus is really involved in. Opus just tells IE to open the HTML file and the rest is up to IE and the installed IE plugins.

Is there a way to tell DOpus/Windows to use a PDF viewer when a PDF thumbnail is clicked? It worked that way on the old PC whatever the secret sauce.

It’s not related to Opus at all. It will come down to which PDF software you have installed on the two machines.

All right. I have the same PDF software on both, Nitro Pro. Must be some generic thing that came with the new box. Will do some spelunking and report back if I find the culprit.

Once you're viewing an HTML file in the viewer, what it does when you click on links is up to it. So it's more likely to be whatever is viewing the HTML on the first machine that you need to install on the second.

I checked and Nitro Pro and Edge are the default apps on both PCs. No other PDF softer installed, at least not intentionally. Interesting though, DOpus does a better job then Explorer on the W10 machine. Example below.

Here is DOpus, first image the HTML page in the viewer with thumbnail. The PDF displayed after clicking the thumbnail, Nitro shows as app of record.

Here is the same action in File Explorer. The standard thumbnail does not display. and clicking on the "thumbnail" results in an error. So whatever the origins DOpus handles it better than Explorer on W10.

I'm giving up at this point as I can't find a setting re default apps that would help on W11. Thanks for trying.

Well, I took a break and came back at it and fixed it though not 100% sure why.

  1. I installed the Foxit reader free version.
  2. When clicking on the thumbnail in the HTML file the PDF displays in the DOpus preview pane. Good.
  3. When double clicking a PDF it opens in Foxit. Not so good.
  4. In Default Apps I changed only .pdf back to Nitro.
  5. Now clicking the thumbnail opens the PDF in DOpus preview and double clicking a PDF opens Nitro. REALLY good.

Interestingly, the process still fails in Explorer.

So not sure what all this means other than I now have the same performance as with my old PC on Windows 10. Thought I would share.

It sounds like FoxIt still installs an Internet Explorer plugin for PDF files.

Could be. I may have installed FoxIt on that old machine at some point in the 10 years that I used it. Whatever the case, things are rosy now. :grinning: