Avatar of mytext
mytext
Flag for Ireland asked on

embeding pdf with Google Drive & Joomla

I have embed a PDF file from Google Drive into a Joomla driven site, using the code:

<p><iframe src="http://docs.google.com/open?id=ADDRESS" width="90%" height="480"></iframe></p>

Open in new window


It does display, howeveran the left of the iframe there is a scrolling preview pane of all the pages in the pdf. This takes alot of space on small monitors.

Is ther an option to just display pages in full width?
HTMLJoomlaWeb DevelopmentGoogle Workspace

Avatar of undefined
Last Comment
mytext

8/22/2022 - Mon
Brian Utterback

Try adding "&embedded=true" to the end of the source URL.
Peter Hart

you mention the folder not a single document?

try....(replace documentname.pdf with your document name)

<p><iframe src="http://docs.google.com/open?id=documentname.pdf&embedded=true" style="width:90%; height:480px;" frameborder="0"></iframe>
ASKER CERTIFIED SOLUTION
mytext

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
mytext

ASKER
I couldn't get the other solutions to work. It was just one of thoese things where the quickest thing to do was use a different tool. When I tried deleting the question it said if I had an answer to post and accept it.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy