GithubHelp home page GithubHelp logo

Comments (6)

jeremyfa avatar jeremyfa commented on August 27, 2024

Did you install graphicsmagick or imagemagick on your machine?

from docpad-plugin-minicms.

dospuntocero avatar dospuntocero commented on August 27, 2024

mmm no? :D
there is a image magick module for node (just found out) -
https://github.com/rsms/node-imagemagick

npm install imagemagick

i will try it now, if it works probably its a good idea to add it as
requirement to your module.

francisco arenas
dospuntocero.cl
fb.me/dospuntocero.cl

2013/6/1 Jérémy Faivre [email protected]

Did you install graphicsmagick or imagemagick on your machine?


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-18797358
.

from docpad-plugin-minicms.

dospuntocero avatar dospuntocero commented on August 27, 2024

ok. installed imagemagick using brew, also the node-imagemagick module, and the same error
error: An error occured:
Error: spawn ENOENT
at errnoException (child_process.js:980:11)
at Process.ChildProcess._handle.onexit (child_process.js:771:34)

from docpad-plugin-minicms.

jeremyfa avatar jeremyfa commented on August 27, 2024

Try to install graphicksmagick using homebrew or macports. Mine works perfectly with graphicsmagick on both my mac and my server on debian. I didn't test using imagemagick, even though it should work too (minicms is using node gm (http://aheckmann.github.io/gm/) module which is supposed to work with both libs).

You don't need to install any additional node modules. These are already dependencies of minicms plugin.

That said, I agree, I should add in the readme that to use image component one need to install graphicsmagick.

from docpad-plugin-minicms.

dospuntocero avatar dospuntocero commented on August 27, 2024

i had some problems with my brew installation, so i uninstalled it and started from zero. after that installed graphicsmagick and now im not getting the error on terminal, but the console on my browser is getting this error:

admin - articles
admin - articles-1

{"error":"Invalidimagefile."} - tried with jpg, png ,JPG, JPEG, none passed.

and this:

POST http://localhost:9778/cms/article/image/upload 404 (Not Found) jquery.js:2
send jquery.js:2
v.extend.ajax jquery.js:2
i jquery-file-upload.js:1
a.widget._onSend jquery-file-upload.js:1
e.isFunction.l.(anonymous function) jquery-ui.js:6
h.submit jquery-file-upload.js:1
upload edit:452
$.fileupload.add edit:491
e.Widget._trigger jquery-ui.js:6
(anonymous function) jquery-file-upload.js:1
v.extend.each jquery.js:2
a.widget._onAdd jquery-file-upload.js:1
e.isFunction.l.(anonymous function) jquery-ui.js:6
a.widget._onChange jquery-file-upload.js:1
e.isFunction.l.(anonymous function) jquery-ui.js:6
v.event.dispatch jquery.js:2
o.handle.u

from docpad-plugin-minicms.

derberg avatar derberg commented on August 27, 2024

I'm having exactly the same problem even when running the example from this repo
POST http://localhost:9778/cms/article/image/upload 404 (Not Found)
@dospuntocero did you find a solution for it?

from docpad-plugin-minicms.

Related Issues (20)

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.