Commit Graph

7 Commits

Author SHA1 Message Date
Joseph Wynn 4bf8cc72f2 Fix bug where `original.path` was absolute 2016-09-25 21:23:47 +01:00
Joseph Wynn efeb87a032 Treat paths as relative to Jekyll `source` directory (#34)
* Move 'fixtures' to 'test-site' because, like, that's what it is

* Refactor to make reasoning about file paths easier

* Write a failing test

* Conventions, conventions

* Always treat paths as relative to the Jekyll site source
2016-09-25 20:23:06 +01:00
Joseph Wynn 08bdd3b1f6 Resize extra images (#23)
* Switch deprecated {File,Dir}#exists? for #exist?

* Implement extra_images configuration.

Closes #21.
2016-06-05 22:32:13 +01:00
Joseph Wynn c523b100cc Modify `dirname` to be relative to `base_path` 2015-12-27 22:41:04 +00:00
Joseph Wynn 45918023f0 Better error messages 2015-04-15 20:43:41 +01:00
Joseph Wynn 1d9396dbd9 Properly handle nil image path 2014-12-07 22:33:14 +00:00
Joseph Wynn ddff9d7cc1 Extract common image processing into a module 2014-12-07 22:17:19 +00:00