diff --git a/AUTHORS.md b/AUTHORS.md index cfcc930..a92d22f 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -6,3 +6,6 @@ * **v-hunt** * **pprmint** +* **v-hunt** +* **arayate** +* **berkerboy** diff --git a/README.md b/README.md index 50657a4..a67200a 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,17 @@ options = { imgkit.from_url('http://google.com', 'out.png', options=options) ``` +At some headless servers, perhaps you need to install **xvfb**: + +``` bash +# at ubuntu server, etc. +sudo apt-get install xvfb +# at centos server, etc. +yum install xorg-x11-server-Xvfb +``` + +Then use **IMGKit** with option **xvfb**: `{"xvfb": ""}`. + By default, IMGKit will show all `wkhtmltoimage` output. If you don't want it, you need to pass `quiet` option: diff --git a/imgkit/__init__.py b/imgkit/__init__.py index 513ca1c..5f44d5c 100644 --- a/imgkit/__init__.py +++ b/imgkit/__init__.py @@ -5,8 +5,8 @@ __author__ = 'jarrekk' __contact__ = 'me@jarrekk.com' -__version__ = '0.1.6' -__homepage__ = 'http://github.com/jarrekk/imgkit' +__version__ = '0.1.7' +__homepage__ = 'https://github.com/jarrekk/imgkit' __license__ = 'MIT' from .imgkit import IMGKit