I dunno since when, but upload of PDF images fails, this hurts especially on tex.SE. Could this be an effect of an updated /etc/ImageMagick-6/policy.xml on the imgur server? At least on my Ubuntu 18.04 LTS machine, this file was modified two weeks ago.

  • Could it be because your file is larger than 2 MB? Oct 11, 2018 at 16:09
  • 1
    @Sonic no, because PDF is not an image and the image uploader supports uploading only, well, images. Oct 11, 2018 at 20:59
  • 1
    No, the PDF was pretty small. And no, PDFs are images as per this answer on tex.meta.SE (being automatically converted). Edit: Used to be images?
    – quazgar
    Oct 12, 2018 at 7:21
  • I was surprised to know that Imgur supported PDF (from your linked meta post on TeX)... however, it seems it has failed on SE since 2013 Oct 27, 2018 at 17:34
  • True, so it's probably a duplicate of that tex.meta question.
    – quazgar
    Nov 6, 2018 at 10:37
  • @quazgar no, PDF is not an image, no matter how you try to look at it. It can be converted to image, but that's not something SE can or should be doing. This is still not a bug in any way. Feb 28, 2019 at 9:51

1 Answer 1


There is a Q&A on Tex.SE's Meta: "Add directly a PDF image from overleaf to a question or an answer edit" about uploading .PDFs:

When posting a question or an answer on tex.stackexchange.com I often start by creating a MWE with overleaf. Then if I want to include the resulting PDF I have to download it to my local system first before inserting it into the post. My question is as follows: is there a way to include the PDF directly from overleaf without download it to my local system?

As of now, Stack Exchange only provides image uploader on all sites using Imgur's service.

While some SE sites got their customization like Code Snippet (SO, etc), MathJax (Mathematics.SE, etc), embedded YouTube video (SciFi.SE, etc), ABC notation (Music.SE)... but PDF uploader is not one of them.

BTW, I do see an error message when I attempted to upload a .PDF to Tex.SE using an URL, attempting to select a file via the browser fails silently.

Can't upload .PDFs

There is a bit of difficulty uploading .TIFF files also, the preview doesn't display, though the file uploads and display's correctly. The current dialog says that "jpeg, png, tiff, gif or bmp" are accepted but it also accepts .WEBP files for upload and correctly shows the preview; it's only when you hit the Add Picture button that it fails.

Attempt to upload .WEBP image

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .