Support » Plugin: Document Gallery » One PDF Thumbnail Smaller Than the Others

  • Resolved davidsculbertson

    (@davidsculbertson)


    Hi,

    I am now successfully using the plugin for a document gallery – thanks for your help!

    Currently, I have 7 PDFs loaded into the Gallery. For one of the PDFs, the thumbnail is approximately 1/2 the size of the rest of the thumbnails. I tweaked the CSS to increase the size of the thumbnails. This tweak increased the size of all of the thumbnails, but the one thumbnail still remains 1/2 the size of the rest.

    Any idea what might be causing this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dan Rossiter

    (@danrossiter)

    Hi David,

    Is this gallery public? If I can take a look at it I can get a better idea of what is going on.

    -Dan

    I’ve made it temporarily public so you can view the page:

    http://epconfranchising.com/document-gallery/

    Plugin Author Dan Rossiter

    (@danrossiter)

    It looks like the image itself is very wide with everything to the right being white. Looks like the PDF first page claims to be much wider than the content on the page.

    -Dan

    Just to confirm, so the problem is with the PDF itself?

    Plugin Author Dan Rossiter

    (@danrossiter)

    I wouldn’t necessary say “problem,” but there is definitely something odd with the PDF.

    -Dan

    Plugin Author demur

    (@demur)

    Hi David!

    To fix appearance of the mentioned Document Gallery instance I would recommend using DG feature for setting custom thumbnails.
    Before doing that You’ll need to prepare a proper thumbnail. If You still want to have a cover (first page of the pdf file) to be as an icon, You should convert first page of the pdf to an image (png or jpg would be ok; You should set dimensions twice as big as the desired to have some freedom while editing), crop it (get rid of the unwanted white areas) and scale it to the desired size (so the image would fit thumbnail container; this step just lets You get the most efficient ratio size/quality). If You don’t have relevant software, You can find variety of free online tools, that would be of great help.
    Then You should go to the Dashboard -> Settings -> Document Gallery -> Thumbnail Management of Your WordPress. Locate there row with the needed Document Gallery element and either Drag’n’Drop the prepared before thumbnail over to the defined row, or You can click on Select File button in the defined row and select the prepared thumbnail in the emerged dialog. (identical result can be achieved by using same uploading techniques on the Edit Media page of the required attachment, which can be found through the Media Library at Dashboard -> Media).

    I hope this would work for You.
    Please don’t hesitate to let us know if You run into any further issues.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘One PDF Thumbnail Smaller Than the Others’ is closed to new replies.