Support » Plugin: PDF Thumbnails » How to install Ghostscript and ImageMagik on Bluehost?

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

    (@stianlik)

    If you are using shared hosting you need to convince the owners of the server. You can check your settings by creating a template-file containing <?php phpinfo(); ?> and view it in your browser. It should contain information about imagick and supported file file types for your server.

    Plugin Contributor mirgcire

    (@mirgcire)

    Here is what I found … it looks up to date:

    imagick

    imagick module

    enabled

    imagick module version 3.1.2
    imagick classes Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
    ImageMagick version ImageMagick 6.7.9-10 2016-05-05 Q16 http://www.imagemagick.org
    ImageMagick copyright Copyright (C) 1999-2012 ImageMagick Studio LLC
    ImageMagick release date 2016-05-05
    ImageMagick number of supported formats: 210
    ImageMagick supported formats 3FR, A, AAI, AI, ART, ARW, AVI, AVS, B, BGR, BGRA, BMP, BMP2, BMP3, BRF, C, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FITS, FRACTAL, FTS, G, G3, GIF, GIF87, GRADIENT, GRAY, GROUP4, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, ICB, ICO, ICON, INFO, INLINE, IPL, ISOBRL, J2C, J2K, JNG, JNX, JP2, JPC, JPEG, JPG, JPX, K, K25, KDC, LABEL, M, M2V, M4V, MAC, MAP, MAT, MATTE, MEF, MIFF, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, O, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG24, PNG32, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, R, RADIAL-GRADIENT, RAF, RAS, RGB, RGBA, RGBO, RLA, RLE, SCR, SCT, SFW, SGI, SHTML, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, Y, YCbCr, YCbCrA, YUV

    Directive

    Local Value

    Master Value

    imagick.locale_fix 0 0
    imagick.progress_monitor

    Plugin Contributor mirgcire

    (@mirgcire)

    Thanks for your promptness! 😀

    Plugin Author stianlik

    (@stianlik)

    No problem 🙂 It looks like you have the required packages installed. Do you have any problems with the plugin?

    Plugin Contributor mirgcire

    (@mirgcire)

    Well, you might have noticed that I created a thread in this support forum, but pretty much resolved it myself.

    The only thing is that I would like to make a smaller thumbnail. I noticed that you suggested using pdf_thumbnails_generate_image_blob. I considered using it, in combination with getimagesize, but I backed off because both methods have a staggering number of details.

    One thing that puzzles me is that when I look into the my upload folder I find there are 12 different jpg files of various dimentions for each pdf file. Why is this? And, is there any way to specific which image to use?

    Thanks!

    Plugin Author stianlik

    (@stianlik)

    I answered the issue about a smaller thumbnail in your other thread. In short, you can specify one of your pre-configured sizes as argument two when using get_the_post_thumbnails, e.g. with a size defined as small, you call get_the_post_thumbnail($post, 'small); to get the image.

    The reasy why you’re getting 12 different jpg-files are that your WordPress-installation is configured with 11 different thumbnail sizes (see the codex on post thumbnails. Each time you upload a PDF, the plugin does the following:

    1. Generate and save one new image
    2. Save information about that image as a normal attachment

    Step 2 makes WordPress generate thumbnails in different sizes based on your configuration. This is the same thing that happens when you upload a normal image.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to install Ghostscript and ImageMagik on Bluehost?’ is closed to new replies.