Giter Site home page Giter Site logo

Comments (3)

bk avatar bk commented on July 26, 2024

The [[!img]] directive works for me in pandoc-processed pages on my own personal wiki. I also tried it on a fresh install of ikiwiki + ikiwiki-pandoc, and it worked there as well. So I'm pretty sure that the problem is caused by some kind of misconfiguration on your end.

You mention pdf processing specifically. Does the directive work for other image types? If so, you might have to add or change the img_allowed_formats setting in your .setup file so as to add pdf to your allowed formats. If it is present, but pdf processing fails anyway (while, e.g., jpg works), this might be because ghostscript is missing on your machine – this is an external program which ImageMagick uses for handling pdf, ps and eps files.

Do you get any error messages related to image processing when you run ikiwiki --setup my.setup or similar?

from ikiwiki-pandoc.

bk avatar bk commented on July 26, 2024

Sorry, I forgot to check which ikiwiki version you were using. I can see that there have been several changes to the img plugin since version 3.2015061, among them the addition of the img_allowed_formats setting, so that is not really relevant to your case. Even so, after examining these changes they do not seem to me to be likely to have affected the usability of the directive on pandoc-backed pages. (But of course updating ikiwiki would be a good idea anyway).

from ikiwiki-pandoc.

 avatar commented on July 26, 2024

Indeed Image::Magick was "missing" because I had tried out perlbrew and the perl used didn't have imagemagick installed. I probably should've checked a little closer, but yeah, that is at least the "issue" with ikiwiki-pandoc.

Of course, it might also be a bug.

Of course, might also be my own fault.

from ikiwiki-pandoc.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.