BuddyDev

Search

[Resolved] Document, PDF thumbnail preview

  • Participant
    Level: Initiated
    Posts: 6
    Andrea on #13457

    Hi, how do i change the thumbmail preview? Can I change it to a different icon or a preview of the document?

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #13458

    Hi Andrea,
    Welcome to BuddyDev.

    At the moment, There are two possibilities. We do hope to bring actual preview in future.

    1. Changing the placeholder thumbnail globally.
    2. Changing for individual document

    For 1.

    Please create “mediapress/default/assets/images” directory in your current theme

    and put your own

    
    doc-large.png - for larger preview
    doc-thumbnail.png - for the thumbnail
    
    

    For 2. A user can change the preview by adding a cover for each pdf.

    Hope that helps.

  • Participant
    Level: Initiated
    Posts: 6
    Andrea on #13476
    This reply has been marked as private.
  • Participant
    Level: Initiated
    Posts: 6
    Andrea on #13477

    Also, when I click to view the PDFs on the front end I get an error message saying Error
    Failed to load PDF document. What am i doing wrong?

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #13478

    Hi Andrea,
    1. For overriding, we are trying to mimic the file path of the wp-content/plugins/mediapress/templates directory.

    You need to create mediapress/default/assets/images in your theme to avoid getting it overridden in future plugin update.

    2. Are you testing the file on any local development server? We are using google doc viewer which needs the file to be public. In other words, the file should be accessible from web.

    Please let me know and I will assist further.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 6
    Andrea on #13482

    Thank you. Both of these worked. Now that I know you access via web, I had to turn off the password to the site.

    These issues are resolved.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #13488

    You are welcome.

The topic ‘ [Resolved] Document, PDF thumbnail preview’ is closed to new replies.

This topic is: resolved