johndoe33
johndoe33

Reputation: 454

PDF thumbnail not appearing

PDF file in Text & Media element won't show.

I added two PDF and one image. As you can see from generated markup, the PDF come out empty, while the image shows:

enter image description here

Have tried all tests in Install tool. Every test succeeded except Render text with TrueType font using 'niceText' option (screenshot)

Upvotes: 1

Views: 2650

Answers (2)

kimomat
kimomat

Reputation: 2399

If you have installed ghostscript via brew, ghostscript is installed in /usr/local/bin. You need a symlink to ghostscript in /usr/bin/

  1. Restart mac
  2. CMD + R on restart.
  3. Start terminal
  4. run csrutil disable
  5. Normal Restart
  6. sudo ln -s /usr/local/bin/gs /usr/bin/gs
  7. Restart again with CMD + R and open terminal
  8. run csrutil enable to enable System Integration Security again.

Thanks to https://stackoverflow.com/users/9913753/chriskr for the csrutil hint

Upvotes: 1

Andreas Wolf
Andreas Wolf

Reputation: 1065

The most likely cause for non-working PDF thumbnails is that Ghostscript is not installed. You can check that in the TYPO3 install tool.

Another possibility would be a misconfiguration of ImageMagick in TYPO3, especially the version (im_version_5 setting and friends).

As the problem only occurs in the frontend, you should also check if the path is correct and/or if you have any permission problems writing to typo3temp/. If that is all correct, try flushing the processed files cache (in the install tool) and check if the thumbnails in the backend appear correctly again.

Upvotes: 1

Related Questions