Title: Figuring out PDF thumbnails
Last modified: August 22, 2016

---

# Figuring out PDF thumbnails

 *  [Stu8080](https://wordpress.org/support/users/stu8080/)
 * (@stu8080)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/)
 * Hi.
 * Great plugin!
 * Im hoping someone could help clarify where im going wrong with PDF thumbnails.
   
   Im trying to get some nice big images of the PDF’s that have been uploaded onto
   the page. my shortcode is as follows: [fileaway type=”table” makedir=”true” boxtheme
   =”yang” theme=”minimalist” fadein=”opacity” fadetime=”500″ bulkdownload=”on” 
   flightbox=”pdfs” manager=”on” thumbnails=”permanent” thumbsize=”large”]
 * I’ve tried naming png images in the same folder as _thumb_pdfs_myfilename.png
   to no avail.
 * Can you clarify:
    Does the plugin create thumbnails itself? Assuming i need to
   create the thumbnails, whats the naming convention to get them to show up. Is
   there a way od using custom css to restyle the icons to be a large png on the
   page without needing to use a table view (ie list view would be preferable)
 * Thanks in advance, and thanks for the very slick plugin.
 * Regards
    Stu
 * [https://wordpress.org/plugins/file-away/](https://wordpress.org/plugins/file-away/)

Viewing 14 replies - 1 through 14 (of 14 total)

 *  [manOmedia](https://wordpress.org/support/users/manomedia/)
 * (@manomedia)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/#post-5954624)
 * Yes, Fileaway makes jpg thumbnails automatically and your short code worked fine
   for me however I did need to point the shortcode to one of my directories which
   had pdfs, in this case base=2.
    I used: [fileaway type=”table” base=”2″ makedir
   =”true” boxtheme=”yang” theme=”minimalist” fadein=”opacity” fadetime=”500″ bulkdownload
   =”on” flightbox=”pdfs” manager=”on” thumbnails=”permanent” thumbsize=”large”]
 * To show larger thumbnails I imagine you would need to figure out where in the
   theme the display size is set and also replace the Fileaway generated thumbnails
   with your own larger ones.
 * AFIK the lists do not support thumbnails but I have done nothing with them.
 *  Thread Starter [Stu8080](https://wordpress.org/support/users/stu8080/)
 * (@stu8080)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/#post-5954638)
 * Thanks for checking. Something else must be going on then because if you see 
   here:[http://www.plymouthsouprun.org.uk/file-away-2/](http://www.plymouthsouprun.org.uk/file-away-2/)
 * It makes no difference to my site?
 * I have page builder installed, which affects the shortcode builder, so ive been
   making them manually, or disabling page builder when i get stuck.
    Im not putting
   this inside any page builder elements though.
 * Any other ideas on what im missing here?
 * Thanks in advance.
    Stu
 *  [manOmedia](https://wordpress.org/support/users/manomedia/)
 * (@manomedia)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/#post-5954710)
 * Adding base 2 to your shortcode would only be relevant if you had multiple “Base
   Directory” configurations (set on the FileAway Basic Config page). Without a 
   specific entry, any shortcode defaults to the first base directory where you 
   obviously have some PDFs.
 * My immediate thought was something with that theme, another plugin or Page Builder
   but if you look at your pdf files with a ftp application. My guess is the permissions
   are set to 0644 instead of 0755.
    You can probably just delete the current pdfs
   and upload some new ones and it will all work.
 *  Thread Starter [Stu8080](https://wordpress.org/support/users/stu8080/)
 * (@stu8080)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/#post-5954712)
 * Makes sense, the permissions were set to 644. I deleted them, reuploaded them
   and they were still set to 644.
    Amending the permissions manually via ftp to
   755 however makes no difference im afraid.
 *  [manOmedia](https://wordpress.org/support/users/manomedia/)
 * (@manomedia)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/#post-5954717)
 * Sorry, I am stumped…
    I came up with that because when I pointed your shortcode
   at a different folder, I saw the same issue as you, PDF icons – no thumbnails.
   I noticed the permissions were different than the previous location so created
   a new folder and added new files which immediately had the 755 permissions and
   it all worked.
 * What about the main folder where the files are being uploaded, is it also 0755?
 *  Thread Starter [Stu8080](https://wordpress.org/support/users/stu8080/)
 * (@stu8080)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/#post-5954720)
 * I’ve tried setting permissions on the directory they are stored and setting it
   to be recursive to all subdomains and files to no avail.
 * It must be something on my wordpress install if its working for you, i’ll try
   disabling plugins one by one ans see if theres something conflicting.
 * Thanks for eliminating a few things for me though, at least i know its something
   my ends.
 * Regards
 *  [sflwa](https://wordpress.org/support/users/sflwa/)
 * (@sflwa)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/#post-5954786)
 * I’m having this issue also
 * I even added the code to the class.fileaway.php and it did say I should have 
   thumbnails
 * I did find out that although I had ImageMagick PHP enabled – I didn’t have ImageMagick
   itself installed
 * I used the settings here [http://stackoverflow.com/questions/4208253/verify-imagemagick-installation](http://stackoverflow.com/questions/4208253/verify-imagemagick-installation)
   and got
 * Version: ImageMagick 6.5.4-7 2014-02-10 Q16 OpenMP [http://www.imagemagick.org](http://www.imagemagick.org)
   
   Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
 * Perhaps this can help point in the correct direction
 *  [sflwa](https://wordpress.org/support/users/sflwa/)
 * (@sflwa)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/#post-5954787)
 * Just a further update I tried a different PDF and it worked…it maybe based on
   the paper size / setup and also how the PDF was generated
 *  [sflwa](https://wordpress.org/support/users/sflwa/)
 * (@sflwa)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/#post-5954788)
 * Also you can’t have spaces in the file names
 *  Thread Starter [Stu8080](https://wordpress.org/support/users/stu8080/)
 * (@stu8080)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/#post-5954792)
 * It was spaces in the file name! Nice one! Thank you very much
 *  [rdkumm](https://wordpress.org/support/users/rdkumm/)
 * (@rdkumm)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/#post-5954839)
 * I can confirm file names can not have spaces in order for thumbnails to be created
   for pdfs
 *  [carcrank](https://wordpress.org/support/users/carcrank/)
 * (@carcrank)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/#post-5954851)
 * I have had no luck, I have no spaces in the filename , have changed permissions
   to 755 …just get the pdf icon.
 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/#post-5954852)
 * It just doesn’t work on some files, and isn’t compatible with everyone’s server
   settings. You may not have the library installed on your server necessary to 
   do the conversion.
 *  [carcrank](https://wordpress.org/support/users/carcrank/)
 * (@carcrank)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/#post-5954854)
 * From a post 7 months ago from Thom I tried this:
 * Open up the file, go to line 14 and before this line:
 * if(isset($atts[‘style’])) $atts[‘theme’] = $atts[‘style’];
 * add this line:
 * echo function_exists(‘exec’) ? ‘I should have thumbs.’ : ‘My host sucks.’;
 * And I get “I should have thumbs” and as I assume you are not referring to the
   opposable type. I still have nothing, have also tried different PDFs.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Figuring out PDF thumbnails’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/file-away_e3e2e1.svg)
 * [File Away](https://wordpress.org/plugins/file-away/)
 * [Support Threads](https://wordpress.org/support/plugin/file-away/)
 * [Active Topics](https://wordpress.org/support/plugin/file-away/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-away/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-away/reviews/)

## Tags

 * [pdf](https://wordpress.org/support/topic-tag/pdf/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 14 replies
 * 6 participants
 * Last reply from: [carcrank](https://wordpress.org/support/users/carcrank/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/figuring-out-pdf-thumbnails/#post-5954854)
 * Status: not resolved