WebSite X5Help Center

 
Sam S.
Sam S.
User

Pdf does not appear on preview  en

Autor: Sam S.
Visitado 551, Seguidores 1, Compartilhado 0  

How can I make a PDF file display?

In PDF file object:  Type - Goodgle viewer , local file on pc, 350 height

When previewed, there is no display.

Help

Thanks

Publicado em
5 RESPOSTAS
Esahc ..
Esahc ..
Moderator
Usuário do mês EN

Sam, you have the option to preview in a real browser, is the pdf visible when you do this?

Is the site online (can you provide a url?) and does it work from there?

For what it's worth I have found the best way to display a pdf is to provide a link through either text or an image of the pdf and have it open in a new window. This lets the user PC display the pdf in their default viewer.

Ler mais
Publicado em de Esahc ..
Sam S.
Sam S.
User
Autor

Esahc,

No, it is not online, and I tried on browser and none either.

It does not even preview on WX5.

Ler mais
Publicado em de Sam S.
Esahc ..
Esahc ..
Moderator
Usuário do mês EN

Sam, I suspect this only works when online (not working for me either), but if you select type iframe rather than google viewer does that work for you?

Ler mais
Publicado em de Esahc ..
Sam S.
Sam S.
User
Autor

Esahc,

Something interesting.  I tried iframe earlier (2x) and it did not work.  Just now, I tried it and the PDF document appeared.

1. Since it is a PDF and not a link, do I need to be concerned about security issues as iframe?

2. Why does'nt the PDF appear with google viewer?

Thanks for suggesting iframe.

Ler mais
Publicado em de Sam S.
Esahc ..
Esahc ..
Moderator
Usuário do mês EN

Sam, in this example the top one uses the the google viewer, the bottom one is iframe. The google viewer only works when online. If your pdf is large there can be a significant delay whilst it loads. I can not imagine any reason to be concerned about iframe security.

http://www.grantvillehistory.com.au/crap.html

As I said, I never use the pdf widget (optional object).

Ler mais
Publicado em de Esahc ..