Iframe not displaying a pdf file in Firefox 14.0.1 on a Mac OS X 10.8.2

I cannot get an Iframe to display a pdf file on my Mac OS 10.8.2, using FIrefox 14.0.1, it works on PC, and works on Safari on the mac, just will not display on Firefox.

We've seen reports that the PDF plugin isn't working properly in Firefox.
Try to disable the Adobe Reader plugin in Firefox (Tools > Add-ons > Plugins) and use the external Adobe Reader application or Preview application instead.
*Firefox > Preferences > Applications > Adobe PDF document : Use Adobe Reader
PDF files may also be found under another entry like Portable document.

Similar Messages

  • Preview.app will not display some PDF files

    Since upgrading Yosemite I have found that Preview.app will not display some PDF documents, the documents open but all the pages are blank. This is a big issue as my work involves reviewing documents that are all in the PDF format. Strangely some PDFs work properly but I haven't been able to determine any common factors among the documents that work versus those that don't work. The problem documents do open correctly in Adobe Acrobat Reader but Reader takes over viewing of PDF container fields I have in several important FileMaker Pro 13 databases. Acrobat in the FileMaker databases for me is just as much of a problem as not viewing PDFs in Preview.
    After searching the forums I followed suggestion in a post to try using version 7.0 of Preview.app (the version that worked under Mavericks) but that is also showing blank pages. I have noticed that the PDFs which open as blank pages also display that way in Finder and Spotlight previews. Could this mean that I have some kind of OS level issue here and not a Preview.app issue? Perhaps Finder and Spotlight use Preview.app to generate the preview.
    I have posted this in a bug report to Apple but in the meantime I would welcome any suggestions or workarounds to try.

    The built-in PDF renderer has trouble with that file. You might get better results with Adobe Reader.

  • FireFox 33.1 will not display the PDF file from Bank online site after 33.1

    I asked this question in an unrelated support ticket so I want to give more detail here. I have tried uninstalling Adobe reader and reinstalling it and it did not help. This was working before with all the exact same addins I had before. I called the Bank and asked if they had any problems and they say no. I can go to the Firefox PDF display for this file and click on download the PDF then double click it in Windows explorer and Adobe reader comes up and displays the file just fine. Don't mind doing that for now. What happens is the bank loads the file then Adobe reader displays with a white screen and a little circle going round and round, like a video is trying to play, and it just sits there forever. I never see the file contents. Anyway I hope your have a good of a day as I am and I know it get better. Thanks Firefox programmers for such a wonderful program.
    Update: While I was writing this I remembered to go into Firefox options, then Applications, and wouldn't you know it, a PDF document was set to "Preview in Firefox". I changed that to Adobe reader and now it works just fine. Guess there's something wrong with the Preview code in Firefox. So I'm happy now. Hope this helps someone.

    Yes, the built-in PDF viewer is a work in progress. Glad you found a workaround, or got back to your preferred configuration, depending on how you look at it.

  • TS1702 My iPhone 4s will not display any pdf file in any of several apps. Does anyone else have a similar problem?

    I have tried several apps including Adobe Reader, PDFReader Lite and iBooks to open PDF files. No files I sync to the 4S are even displayed, much less opened. I'd like to hear from anyone who has been able to overcome a similar problem.

    OK, glad that worked!
    How about trying this as step 2:
    When you open the PDF attachment in Mail that you can read, click the action (right arrow) button near the top right of your screen.  One of the options there should be "Open in iBooks".  Does that work for you?  It should!

  • Www and http not displaying in pdf files converted from MS Word

    When I convert a Word document to pdf using Acrobat Pro 9.0, the website addresses do not display correctly. For instance, if my document shows www.website.com - then the pdf only displays .website.com. Also, if I have the http://www.website.com - I get ://www.website.com. Please HELP! I remember having this problem when I used the trial version of Acrobat 9.0, but stumbled upon the solution. I can't figure it out this time.

    You'll want to ask your question in the Acrobat forum rather than here in the Reader forum.

  • IPhone not displaying some PDF files in Mail

    We have a reporting server that generates PDF files sent by email. When I receive these files using Apple Mail on my Macbook or iMac, they are displayed without problems. However, when reading them in my email on the iPhone, the indicator just keeps spinning showing 'Loading...' but never shows the file.
    If I go to my Apple Mail app on the laptop or desktop, forward the file to myself, then go back to the iPhone, the PDF shows fine.
    Is Apple Mail on the iPhone interpreting less MIME types or something than the desktop version? This is annoying since it is about the only thing that the iPhone doesn't do well for me to complete my business integration. Something so simple.

    Sounds like a bug. Let Apple know.
    http://www.apple.com/feedback/iphone.html

  • How do i Restore Preview as my default viewer when using Safari,seems adobe has hi jacked Safari,if i uninstall adobe safari will not open any pdf files.

    How do i restore Preview as my default viewer.
    Seems adobe has hi-jacked Safari and and opens using abobe not preview.
    Have uninstalled adobe but safari then will not display any pdf files.
    Preview still works fine to view existing downloaded files.

    Niac --
    What kind of files?  PDFs?  or Others as well?
    If you want Preview to open all PDFs, then find a PDF on your HD.
    Highlight it, and then press the Apple/Comand key along with th letter " i " key.
    When the window comes up, look down to the "Open with" line, and change it from Adobe to Preview.
    Then look slightly below, and select "Change All."
    Now, all PDFs should open with Preview.

  • Using IFRAME in JSF to display a PDF file

    2 all,
    How do i display a PDF file inside a JSF page in a IFRAME tag?
    I store the PDF file location (like d:\images\pdf1.pdf) in my database. I cant give this location directly into the src attribute cos then the file will be rendered to only users who have access to that folder (the application is a internet application). IFRAME would be ideal as the display is very very neat (esp for pdf files).
    To get this working i tried the examples given in balusc blogs (on image servlet) but the problem is that my servlet is not getting called. Find below the web.xml and imageDisplay.jsp pages that i tried
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>WorkFlowTool</display-name>
    <context-param>
      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
      <param-value>server</param-value>
    </context-param>
    <filter>
      <filter-name>MyFacesExtensionsFilter</filter-name>
      <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
      <init-param>
       <param-name>maxFileSize</param-name>
       <param-value>20m</param-value>
      </init-param>
    </filter>
    <filter>
      <display-name>SecurityCheckFilter</display-name>
      <filter-name>SecurityCheckFilter</filter-name>
      <filter-class>filters.SecurityCheckFilter</filter-class>
    </filter>
    <filter-mapping>
      <filter-name>MyFacesExtensionsFilter</filter-name>
      <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
      <filter-name>MyFacesExtensionsFilter</filter-name>
      <url-pattern>*.faces</url-pattern>
    </filter-mapping>
    <filter-mapping>
      <filter-name>MyFacesExtensionsFilter</filter-name>
      <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
      <filter-name>SecurityCheckFilter</filter-name>
      <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <listener>
      <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    <servlet>
      <servlet-name>Faces Servlet</servlet-name>
      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
      <servlet-name>Image Servlet</servlet-name>
      <servlet-class>servlets.ImageServlet</servlet-class>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
      <servlet-name>Image Servlet</servlet-name>
      <url-pattern>/imageServlet/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <session-config>
      <session-timeout>60</session-timeout>
    </session-config>
    <welcome-file-list>
      <welcome-file>/jsp/index.jsp</welcome-file>
    </welcome-file-list>
    <error-page>
      <error-code>500</error-code>
      <location>/jsp/error.jsp</location>
    </error-page>
    <resource-ref>
      <res-ref-name>jdbc/JDDS</res-ref-name>
      <res-type>java.lang.Object</res-type>
      <res-auth>Container</res-auth>
      <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    </web-app>
    imageDisplay.jsp
    <HTML>
    <HEAD>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
    <f:loadBundle basename="messages" var="msg" />
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <LINK rel="stylesheet" type="text/css" href="../theme/Styles.css"
         title="Style">
    </HEAD>
    <body topmargin="0" leftmargin="0">
    <f:view>
         <h:form id="CaseLookUp">
              <h:dataTable value="#{pc_ImageDisplay.dataModel}" var="var">
                   <h:column id="one">
                        <f:facet name="header">
                             <h:outputText value="H1" id="HOne"/>
                        </f:facet>
                        <h:outputText value="#{var.caseID}" id="IDONE"/>
                   </h:column>
                   <h:column id="two">
                        <f:facet name="header">
                             <h:outputText value="H2" id="HTwo"/>
                        </f:facet>
                        <h:graphicImage value="imageServlet?file=#{var.PODocPath}" id="image"/>
                   </h:column>
              </h:dataTable>
         </h:form>
    </f:view>
    </body>
    </HTML>The image servlet is what i got from balusc's site (http://balusc.blogspot.com/2007/04/imageservlet.html).
    I dont know why my servlet is not getting called. Can someone help me with this pls?
    okay let me post the modified code for my image servlet here
    public class ImageServlet extends HttpServlet {
         private static final long serialVersionUID = 1L;
         public void doGet(HttpServletRequest request, HttpServletResponse response) {
            // Define base path somehow. You can define it as init-param of the servlet.
    //        String imageFilePath = "/images";
            // In a Windows environment with the Applicationserver running on the
            // c: volume, the above path is exactly the same as "c:\images".
            // In UNIX, it is just straightforward "/images".
            // If you have stored images in the WebContent of a WAR, for example in the
            // "/WEB-INF/images" folder, then you can retrieve the absolute path by:
            // String imageFilePath = getServletContext().getRealPath("/WEB-INF/images");
            // Get file name from request.
            String imageFileName = request.getParameter("file");
            System.out.println("Inside the image servlet ---->>>> " + imageFileName);
            // Check if file name is supplied to the request.
    //        if (imageFileName != null) {
    //            // Strip "../" and "..\" (avoid directory sniffing by hackers!).
    //            imageFileName = imageFileName.replaceAll("\\.+(\\\\|/)", "");
    //        } else {
    //            // Do your thing if the file name is not supplied to the request.
    //            // Throw an exception, or show default/warning image, or just ignore it.
    //            return;
            // Prepare file object.
            File imageFile = new File(imageFileName);
            // Check if file actually exists in filesystem.
            if (!imageFile.exists()) {
                // Do your thing if the file appears to be non-existing.
                // Throw an exception, or show default/warning image, or just ignore it.
                return;
            // Get content type by filename.
            String contentType = URLConnection.guessContentTypeFromName(imageFileName);
            // Check if file is actually an image (avoid download of other files by hackers!).
            // For all content types, see: http://www.w3schools.com/media/media_mimeref.asp
            if (contentType == null || !contentType.startsWith("image")) {
                // Do your thing if the file appears not being a real image.
                // Throw an exception, or show default/warning image, or just ignore it.
                return;
            // Prepare streams.
            BufferedInputStream input = null;
            BufferedOutputStream output = null;
            try {
                // Open image file.
                input = new BufferedInputStream(new FileInputStream(imageFile));
                int contentLength = input.available();
                // Init servlet response.
                response.reset();
                response.setContentLength(contentLength);
                response.setContentType(contentType);
                response.setHeader(
                    "Content-disposition", "inline; filename=\"" + imageFileName + "\"");
                output = new BufferedOutputStream(response.getOutputStream());
                // Write file contents to response.
                while (contentLength-- > 0) {
                    output.write(input.read());
                // Finalize task.
                output.flush();
            } catch (IOException e) {
                // Something went wrong?
                e.printStackTrace();
            } finally {
                // Gently close streams.
                if (input != null) {
                    try {
                        input.close();
                    } catch (IOException e) {
                        e.printStackTrace();
                        // This is a serious error. Do more than just printing a trace.
                if (output != null) {
                    try {
                        output.close();
                    } catch (IOException e) {
                        e.printStackTrace();
                        // This is a serious error. Do more than just printing a trace.
        }

    Thanks Balusc!!
    I have made use of your code to display PDF files in an IFRAME tag too!!! I just dint believe that this would be possible. Please just take a look at my JSP page.
    <h:form id="CaseLookUp">
         <%
         String path = request.getContextPath()+"";
         out.print(path);
         %>
    <iframe scrolling="auto" src="<%=path%>/imageServlet?file=D:\70-229 V5.pdf" width="80%" height="600" ></iframe>
         </h:form>

  • Iframe is not working for pdf files in iPad safari

    Hi,
    Pdf file is not displaying properly in iPad safari. I have faced below issue while using iframe
    Not displaying in full width and height
    Not able scroll other pages in pdf
    Thanks,
    Arun

    Hi Viraj,
    You need to upload an image "pdf.gif" in \etc\public\mimes\images folder.
    Also, you need to define the MIME Type for PDF documents in portal.
    Navigate to System Administration -> System Configuration -> Knowledge Management -> Content Management -> Utilities -> MIME Types.
    Check whether you already have a MIME Type for PDF or not. Else you can create a new Type "pdf" with MIME Type "application/pdf".
    Regards,
    Sudip

  • PDF not displaying correctly when opening in Firefox

    I have created a document in Powerpoint 97-03, with hyperlinks created using shapes, on a Win. 7 PC and then converted it to a PDF. It has then be uploaded onto the internet and it displays fine on a Windows PC.
    One of my colleagues has viewed it on their mac with Firefox and found that the contents of the PDF have shifted to the right so that part of the document is off of the page, though the hyperlinks have stayed where they should.
    I have installed Adobe Reader XI onto the mac in the hopes that this may resolve it but alas no luck. I was wondering if anyone else had experienced this issue and whether there was any fix at all?

    Can you please post the link to the PDF in question?<br>
    Does this occur in all PDFs?
    In order to change the default reader for PDF files (to not open PDF files with Firefox's internal PDF reader), follow these steps:
    #Go to ''Tools'' > ''Options'' (or ''Firefox'' > ''Options'').
    #In the Options window, select the ''Applications'' tab.
    #In the ''Search'' field, type ''PDF''. You should find ''Portable Document Format (PDF)''.
    #On the right handside you should find an ''Action'' column. Use that to select your favorite PDF reader. In order to view PDF files in Firefox, choose ''Preview in Firefox''.
    Did this fix your problems? Please report back soon.

  • Firefox will not print a pdf file

    I have Firefox 9.0 and it will not print a pdf file using the print icon but will print using Ctr+p. It will print in internet explorer. What do I need to do ?

    Which "print" icon - the one on a Firefox toolbar or the one in the PDF window?
    If you are using Adobe Reader to display PDF file, the newer version of Adobe hides the Reader toolbar by default - hit F8 to show the toolbar, the print icon should be on the Adobe toolbar.

  • Error when displaying a pdf file in an iFrame

    Hi,
    I would like to display a pdf file in my Java Web Dynpro application. I am using an iFrame element.
    The code I used is:
    // test if the file exists
    if( path != null)
         path = "D:\\Echanges\\Facture\\" + path + ".pdf";
    if (isFile(path)) // test if the file exist
         wdContext.currentContextElement().setPath(path); // we set the path of the file for the iFrame url
    else
         wdContext.currentContextElement().setPath("D:\\Echanges\\errorDocAccess.htm"); // here we set the path of an error file to display in the iFrame
    In the context, path is declared as a String variable and mapped to an iFrame. What happen when I lauch the program is the followig error:
    com.sap.tc.webdynpro.services.exceptions.InvalidUrlRuntimeException: Invalid URL=D:/Echanges/errorDocAccess.htm
    I have checked the path of the error file and it is valid. How do I get to display my file ? The path is on the same server as the portal.
    Thanks a lot for your help.
    Thibault Schalck

    Not solved

  • Firefox will not display my HTML file as its contents - only displays the HTML text (firefox 5.0).

    I can download a file as a Firefox file (zipped) and it displays successfully. Then I can save the file as a text file and see the HTML text.
    When I work on the HTML text file and then try to display the modified file in Firefox 5.0 and Windows XP, Firefox will only show the HTML text, not the display of the contents of the file.

    Make sure that the file has a .html file extension if you want Firefox to render the content.
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 10.0 r32
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • The scroll function on my mousepad is disabled when viewing a pdf file in firefox version 5.0. The scroll works on the pdf, but not on the other tabs. When the pdf is closed, the scroll function returns to normal. Any ideas?!

    The scroll function on my mousepad is disabled when viewing a pdf file in firefox version 5.0. The scroll works on the pdf, but not on the other tabs. When the pdf is closed, the scroll function returns to normal. Any ideas?!

    Hey thanx for the help, it worked like a charm.
    I think firefox changed the application lay out, as I used to be able to choose my PDF opener from the list at " Adobe Acrobat Forms Document' where I could choose Nitro-PDF reader, but it has now moved all the way to the bottom like you suggested to the obvious place of "Portable Document Format" section.
    If someone didn't tell me , I wouldn't have scrolled all the way down to be able to find it... it really should be with all its cousins up the top...
    Cheers again..

  • Firefox will not open Adobe PDF files on my mini Mac (I have reader x and the latest Quicktime versions)

    When I try to download a pdf file sometimes an error message appears and states can't down load file, Quicktime may need an extension. Other times the page just stays blank - nothing happens.
    This happens very frequently. I can open some pdf files in Firefox. The problem appears with downloading.
    I have the same software in Safari and Firefox and I do not have this problem with Safari - I can download PDFs in that browser

    What I did was to reinstall/upgrade Adobe Reader, then there is an new option showing up in Firefox > options > applications > Portable Document Format(PDF), which is "use adobe acrobat in Firefox". Choose this one, then I managed again to open PDF files with Adobe Reader internally in Firefox.

Maybe you are looking for