Skip to content

Commit 866c4c7

Browse files
committed
update project README
1 parent 1ad7b9d commit 866c4c7

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
lektor image resize plugin
22
============================
3+
[![PyPI version](https://badge.fury.io/py/lektor-image-resize.svg)](https://badge.fury.io/py/lektor-image-resize)
4+
[![Downloads](https://pepy.tech/badge/lektor-image-resize)](https://pepy.tech/project/lektor-image-resize)
5+
[![Linting Python package](https://github.com/chaos-bodensee/lektor-image-resize/actions/workflows/pythonpackage.yml/badge.svg)](https://github.com/chaos-bodensee/lektor-image-resize/actions/workflows/pythonpackage.yml)
6+
[![Upload Python Package](https://github.com/chaos-bodensee/lektor-image-resize/actions/workflows/pythonpublish.yml/badge.svg)](https://github.com/chaos-bodensee/lektor-image-resize/actions/workflows/pythonpublish.yml)
37

4-
This plugin automatically generates thumbnails for any images in your Lektor content.
8+
This plugin automatically generates thumbnails for any images in your [Lektor](https://getlektor.com) content.
59
The difference between this plugin and the lektor [thumbnail](https://www.getlektor.com/docs/api/db/record/thumbnail/) filter is that this plugin is converting all images and you don't need to have any references to the images in your templates.
610

711
TL;DR: What does this plugin do?
@@ -35,9 +39,9 @@ If you have trouble, see the [plugin
3539
installation](https://www.getlektor.com/docs/plugins/) section of the Lektor
3640
documentation.
3741

38-
Then, create a config file called `configs/thumbnail-generator.ini` and add
42+
Then, create a config file called `configs/image-resize.ini` and add
3943
a few sections for images. The section names can be whatever you want, the
40-
final images will be called `imagename-sectionname.ext`. For example, this
44+
final images will be called `imagename-sectionname.jpg`. For example, this
4145
config file:
4246

4347
```ini

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
packages=find_packages(),
2626
py_modules=['lektor_image_resize'],
2727
url='https://github.com/chaos-bodensee/lektor-image-resize.git',
28-
version='0.1',
28+
version='0.2.0',
2929
classifiers=[
3030
'Framework :: Lektor',
3131
'Environment :: Plugins',

0 commit comments

Comments
 (0)