DokuWiki

It's better when it's simple

User Tools

Site Tools


faq:brokenimages

This is an old revision of the document!


Broken Images

:?: The wiki seems to work fine, but embedded images aren't working.

:!: Try to open one of the images directly (right click → select open image in new tab) to see if you get any errors.

If you get some PHP error or the message The image can't be displayed because it contains errors one of your plugins might be broken. It might also be a whitespace or BOM introduced with one of your config files, see the FAQ entry on session cookies and the findBadPhp script Tip for more info on how to solve this problem.

If you don't see any error messages displayed, they might still appear in your error log. So, please check those. (If you don't have access to them, ask your provider.)

You may also want to use a download tool like curl or wget to download the image directly and compare your original image with the one you downloaded from DokuWiki. Whitespace and BOM errors can easily be detected this way.

If you get no content at all, make sure you haven't misconfigured the xsendfile option.

If thumbnails for small images work, but larger ones fail, you might hit a memory problem with libGD. Try configuring ImageMagick instead.

faq/brokenimages.1464962644.txt.gz · Last modified: 2016-06-03 16:04 by FosseWay

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki