TryGhost/Ghost — pull request #1984 by jgillich (2014-01-19 13:19:21+00:00)
Title: Use absolute path when storing images

closes #1983

Images were uploaded to a absolute location, based on the current directory. So if you start Ghost using `node ~/Ghost/index.js`, it would put all images at `~/content/images`.

This changes it to use a absolute directory, based on Ghost's root directory (see `server/config/paths.js`).

@simme Can you please verify that it solves the problem?

@ErisDS Because the bug pollutes the user's file system, you might consider pushing the fix as an update to 0.4.
I think this would be a good candidate for tests, but because I lack experience with phantomjs and file upload sounds complicated, it will take me a while to write them.