{"id":3128,"date":"2016-12-09T16:30:25","date_gmt":"2016-12-09T15:30:25","guid":{"rendered":"https:\/\/en.florianbrinkmann.de\/?p=3128"},"modified":"2020-02-09T10:59:59","modified_gmt":"2020-02-09T09:59:59","slug":"pdf-preview-images-in-wordpress-4-7-on-uberspace","status":"publish","type":"post","link":"https:\/\/florianbrinkmann.com\/en\/pdf-preview-images-in-wordpress-4-7-on-uberspace-3128\/","title":{"rendered":"PDF preview images in WordPress 4.7 on Uberspace"},"content":{"rendered":"\n<p>Since version 4.7 it is possible to let WordPress generate preview images for uploaded PDF documents. Therefore, your server has to meet the following requirements:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Imagick.<\/li><li>ImageMagick.<\/li><li>Ghostscript.<\/li><\/ul>\n\n\n\n<p>You have to install Imagick \u2014 ImageMagick and Ghostscript are installed by default. To retrofit Imagick, you just need to run the following command on the shell and can enjoy PDF preview images for new uploads:<\/p>\n\n\n<pre class=\"wp-block-code language-bash\"><span><code class=\"hljs\">uberspace-install-pecl imagick<\/code><\/span><\/pre>","protected":false},"excerpt":{"rendered":"<p>Since version 4.7 it is possible to let WordPress generate preview images for uploaded PDF documents. Therefore, your server has to meet the following requirements: Imagick. ImageMagick. Ghostscript. You have to install Imagick \u2014 ImageMagick and Ghostscript are installed by default. To retrofit Imagick, you just need to run the following command on the shell [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"wpf_show_in_dewp_planet_feed":false,"flobn_post_versions":"","webmentions_disabled_pings":false,"webmentions_disabled":false,"lazy_load_responsive_images_disabled":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-3128","post","type-post","status-publish","format-standard","hentry","category-web-development"],"wp-worthy-pixel":{"ignored":false,"public":null,"server":null,"url":null},"wp-worthy-type":"normal","_links":{"self":[{"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/posts\/3128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/comments?post=3128"}],"version-history":[{"count":5,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/posts\/3128\/revisions"}],"predecessor-version":[{"id":5933,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/posts\/3128\/revisions\/5933"}],"wp:attachment":[{"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/media?parent=3128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/categories?post=3128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/florianbrinkmann.com\/en\/wp-json\/wp\/v2\/tags?post=3128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}