Topic: PDF's
Can I insert or embed a PDF on a page? I have photos in PDF format.
An independent forum site for members of the Serif software community
You are not logged in. Please login or register.
Automated signup has been disabled for these forums. If you wish to register, please send an email to admin[at]punster[dot]me stating your preferred username.
Embedded images: Click on the Add image to post link below the message box. Your photo will be uploaded to the postimage website and then shared here via a thumbnail link. Click on the thumbnail for a larger view.
Private messages: There is no pop-up alert for new PMs on these forums, so you need to look out for the PM link (near the top right-hand corner of any forum page) becoming bold.
Alfred's Serif Users' Forums → WebPlus → PDF's
Can I insert or embed a PDF on a page? I have photos in PDF format.
You could use a Document Frame.
Insert > Document Frame > Contents > File and browse for your pdf. Check the 'embed file' box and you may also need to check the '... convert to a web compatible image' box.
Joe
Thanks - that works, sort of.
Unfortunately the document frame doesn't fill with the document, it just stays as when you are placing it, a box with the file name in, so it is difficult to size it correctly so the Windows? PDF reader fits; it looks disconcerting, and you can't remember what it is displaying. 'Refresh preview' button bottom right doesn't do anything. I guess I am going to have to convert them all to JPG's.
Roger
Thanks - that works, sort of.
Unfortunately the document frame doesn't fill with the document, it just stays as when you are placing it, a box with the file name in, so it is difficult to size it correctly so the Windows? PDF reader fits; it looks disconcerting, and you can't remember what it is displaying. 'Refresh preview' button bottom right doesn't do anything. I guess I am going to have to convert them all to JPG's.
Roger
What are the dimensions of pdf? Is it smaller than the size of the iframe or have you not expanded the iframe to the size of the pdf?
Joe
So I have a whole multi-page illustrated publication as a PDF, it is a really big file.
I call it using a hyperlink to the file, which for usual PDF's works fine - they open in some default (Windows?) PDF Reader.
So I set up this one like this, and Previewed in Chrome, and the Reader screen opened, a green 'loading' bar went from left to right at the top, and then the document displayed perfectly.
But when I Published the page and clicked on the hyperlink in Chrome the Reader window came up, the green bar flashed, and a pop up window appeared saying the file couldn't be read.
So it worked in the preview but not in the published page.
The same in Firefox and Edge (though the graphics varied).
And I tried putting it in a Document Frame - just the same.
Do you think there is a file size limitation somewhere? (I don't want to split the publication up if I can help it)
You already have a pdf thread which is unresolved, and you did not answer the the last question put to you. Help works best when there is a two way dialogue. Also, why have you not provided a link to the website?
Hopefully Alfred will move this thread over to the original.
You already have a pdf thread which is unresolved, and you did not answer the the last question put to you. Help works best when there is a two way dialogue. Also, why have you not provided a link to the website?
Hopefully Alfred will move this thread over to the original.
Thanks, Joe! Threads merged.
Apologies - I thought 'I guess I shall have to convert them all to JPG's' implied resolved.
This is the page in question - but as you don't have the local file I can't see it is much help?
Apologies - I thought 'I guess I shall have to convert them all to JPG's' implied resolved.
This is the page in question - but as you don't have the local file I can't see it is much help?
Clicking on Census Atlas in firefox gives me a damaged file error which is not repairable. See attached image.
Can you open the standalone version of the file in adobe? Check that you can view every page.
Another point. Your file name for the pdf and therefore the link to it, starts with a capital letter and contains spaces. the website html looks like this:
https://www.xenophon.org.uk/Copy%20of%20complete%20Atlas01.pdf
Which is not good practice. URL's can't contain spaces so they are replaced with %20. Use smallcase and rather than spaces insert _ or - so in effect, you have a continuous word.
Thanks - I appreciate it.
Well I of course know not to use capitals and spaces in PagePlus page filenames, but the 'add hyperlink - file - browse your hard disk' procedure invites you to choose a Windows file which can have them with no warning - are you saying this is a fatal error or just frowned on?
The file opens correctly in my Adobe Acrobat Reader (which is quite old) - I don't have the full version of Acrobat.
How do you explain that the file opens correctly from the PagePlus browser preview of the page?
Thanks - I appreciate it.
Well I of course know not to use capitals and spaces in PagePlus page filenames, but the 'add hyperlink - file - browse your hard disk' procedure invites you to choose a Windows file which can have them with no warning - are you saying this is a fatal error or just frowned on?
The file opens correctly in my Adobe Acrobat Reader (which is quite old) - I don't have the full version of Acrobat.
How do you explain that the file opens correctly from the PagePlus browser preview of the page?
It's not a fatal error, it's just not good practice. If you fix it, it removes a possible error.
Can you attach a copy of the pdf file to your next post and then I and possibly others can have a look and see if we can determine the issue?
Sorry - I may be being stupid, but I don't see an option to attach a file - only 'Add an image'
No, you aren’t being stupid! It isn’t immediately obvious that for file attachments you need to use the Post reply link instead of the ‘Quick reply’ option.
Yes - I did wonder why it was a 'Quick' reply.
Thus:
Ah, problem "Warning! The following errors must be corrected before your message can be posted:
The selected file was too large to upload. The server didn't allow the upload." It's 28.6 KB
28.6 KB is tiny! I don’t know what trigged that error message, but if you’d like to email the file to me I’d be happy to take a look.
Typo - 28.6MB A bit different! I have uploaded it to MEGA from which you can download it
https://mega.nz/file/1zY11RJK#l7YDZUyzf … lK7YtckAjg
Many thanks
So - for the avoidance of doubt (as M'learned Friends say), this problem was left unresolved, but not by me!
Try this. Paste the following into Body in an HTML Fragment. and set it to the sizes you enter in the code below
<object class="pdf"
data= "atlas01.pdf"
type="application/pdf"
width="800"
height="500">
</object>
Make sure data= has the same name as your pdf file which you can load via Tools > Site Manager > File Manager > Add file.
I've tried it with Edge, Opera, Firefox and DuckduckGo and it works OK. I won't use Chrome so you will need to test it in that. Chrome prefers to use it's own viewer but see how it goes. The type="application/pdf" in the code may help.
I won't use Chrome
I’m sure you and I aren’t the only ones, Joe! Do you feel the same way about Chromium browsers generally, or is it specifically to do with Chrome’s nasty habit of ‘phoning home’ at every opportunity?
Joe wrote:I won't use Chrome
I’m sure you and I aren’t the only ones, Joe! Do you feel the same way about Chromium browsers generally, or is it specifically to do with Chrome’s nasty habit of ‘phoning home’ at every opportunity?
Hi Alfred, I just don't like google as a company who spy on everything you do, sell data and plague you with ads.
When you say chromium browsers generally, are there others besides google?
I just don't like google as a company who spy on everything you do, sell data and plague you with ads.
Me too neither! Whatever happened to “Don’t be evil”? Jon von Tetzchner (the co-founder and CEO of Vivaldi who also co-founded Opera) agrees with us.
My friends at Google: it is time to return to not being evil
When you say chromium browsers generally, are there others besides google?
Yes, there are. Chromium is free and open source, and its web page rendering code is also used by many other browsers (the main ones being Microsoft Edge, Opera, Vivaldi, and Brave).
Yes, there are. Chromium is free and open source, and its web page rendering code is also used by many other browsers (the main ones being Microsoft Edge, Opera, Vivaldi, and Brave).
Thanks Alfred I'll try it.
Alfred's Serif Users' Forums → WebPlus → PDF's
Powered by PunBB, supported by Informer Technologies, Inc.