Title: Problem with pdf
Last modified: May 25, 2017

---

# Problem with pdf

 *  Resolved [gebet](https://wordpress.org/support/users/gebet/)
 * (@gebet)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/problem-with-pdf/)
 * Running mla on different sites. Problem with [http://bzpc-bodegraven.nl/wedstrijdzwemmen-2/](http://bzpc-bodegraven.nl/wedstrijdzwemmen-2/)
   Yellow menuitem uitslagen.
    When cliciking on the pdf link error Image cannot
   be loaded. Make sure the path is correct and image exist.
 * Th the files are there.
 * I can’t see anything wrong.
 * Can you helpçout.
 * Greatings Gert

Viewing 1 replies (of 1 total)

 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/problem-with-pdf/#post-9168701)
 * Thanks for your question and for the link to your sample page; very helpful.
 * I went to the example page, opened the “uitslagen” document list and clicked 
   on an entry. I got the error message you described. I right-clicked on the same
   link and selected “Save target as” and was able to download the document without
   error.
 * I examined the HTML source code of the entry:
 *     ```
       <a href="http://bzpc-bodegraven.nl/wp-content/uploads/2017/05/2017-02-19Leiden-Speedo_Jaargangwedstrijden_2017_dag_2_uitslagen.pdf" rel="prettyPhoto[pp_gal]">2017-02-19=Leiden-Speedo_Jaargangwedstrijden_2017_dag_2_uitslagen</a>
       ```
   
 * Notice the `rel="prettyPhoto[pp_gal]` attribute and the “**_Image cannot be loaded_**
   poertion of the message. It looks like you have a lightbox plugin that intercepts
   the click and tries to load the document for display in a lightbox. It’s not 
   an image, so the attempt fails.
 * You will have to find a way to disable the lightbox function for this gallery,
   which will be specific to whatever plugin or theme function you are using. I 
   do not believe MLA is directly involved, but here are two recent support topics
   along the same lines:
 * [Disable MLA lightbox](https://wordpress.org/support/topic/disable-mla-lightbox/)
 * [needless step between image thumbnail and lightbox on portfolio pages](https://wordpress.org/support/topic/needless-step-between-image-thumbnail-and-lighbox-on-portfolio-pages/)
 * I am marking this topic resolved because I do not believe MLA is directly involved.
   If you need more specific help on finding and disabling the lightbox function
   for your `[mla_gallery]` output, post an update here with more information and
   I will give you whatever help I can. Thanks for your interest in the plugin.

Viewing 1 replies (of 1 total)

The topic ‘Problem with pdf’ is closed to new replies.

 * ![](https://ps.w.org/media-library-assistant/assets/icon-256x256.png?rev=973502)
 * [Media Library Assistant](https://wordpress.org/plugins/media-library-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-assistant/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [David Lingren](https://wordpress.org/support/users/dglingren/)
 * Last activity: [8 years, 12 months ago](https://wordpress.org/support/topic/problem-with-pdf/#post-9168701)
 * Status: resolved