{ "info": { "author": "Stavros Korokithakis,,,", "author_email": "hi@stavros.io", "bugtrack_url": null, "classifiers": [], "description": "Lektor Thumbnail Generator\n==========================\n\nThis plugin automatically generates thumbnails for any images in your Lektor\ncontent. The difference between this plugin and the `thumbnail` filter is that\nthis is geared towards content, i.e. you don't need to have any references to\nthe images in your templates at all.\n\n\nUsage\n-----\n\nUse this plugin if you want to be able to link to full-size images in your\ncontent, but still want thumbnails to be generated for the link itself. For\nexample, you may have an image called `cat.jpg`, and to link to it in the\n*content* (not the template), but also show a thumbnail.\n\nYou can do that like so:\n\n~~~\n\n~~~\n\n\nInstallation\n------------\n\nTo install the plugin, just add `lektor-thumbnail-generator` to your plugins\nfrom the command line:\n\n~~~\nlektor plugins add lektor-thumbnail-generator\n~~~\n\nIf you have trouble, see the [plugin\ninstallation](https://www.getlektor.com/docs/plugins/) section of the Lektor\ndocumentation.\n\nThen, create a config file called `configs/thumbnail-generator.ini` and add\na few sections for images. The section names can be whatever you want, the\nfinal images will be called `imagename-sectionname.ext`. For example, this\nconfig file:\n\n~~~\n[small]\nmax_width = 30\n\n[medium]\nmax_width = 400\nmax_height = 400\n\n[woowee]\nmax_width = 2000\n~~~\n\nWill take a file called `cat.jpg` and create the files `cat-small.jpg`,\n`cat-medium.jpg` and `cat-woowee.jpg`. All the files will be created, regardless\nof whether the original file is smaller, so you can link without worrying\nwhether a file will exist or not. If the original file is smaller than the width\nyou have specified, the file will only be copied, and will not be resized.\nThe `max_width`/`max_height` parameters work like for the [Lektor\nthumbnail](https://www.getlektor.com/docs/api/db/record/thumbnail/) command.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/skorokithakis/lektor-thumbnail-generator/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "lektor-thumbnail-generator", "package_url": "https://pypi.org/project/lektor-thumbnail-generator/", "platform": "", "project_url": "https://pypi.org/project/lektor-thumbnail-generator/", "project_urls": { "Homepage": "https://github.com/skorokithakis/lektor-thumbnail-generator/" }, "release_url": "https://pypi.org/project/lektor-thumbnail-generator/0.4.0/", "requires_dist": null, "requires_python": "", "summary": "This plugin automatically generates thumbnails for any images in your Lektor content. The difference between this plugin and the `thumbnail` filter is that this is geared towards content, i.e. you don't need to have any references to the images in your templates at all.", "version": "0.4.0" }, "last_serial": 5923345, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "da02f70e3fb5692d1eeaa4b18eb8cd3c", "sha256": "81495f8ae6e32504b3ef9f738e2966ffefb35d0c9ffb414d9abe04e7783849f6" }, "downloads": -1, "filename": "lektor_thumbnail_generator-0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "da02f70e3fb5692d1eeaa4b18eb8cd3c", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 3265, "upload_time": "2017-04-13T23:37:32", "url": "https://files.pythonhosted.org/packages/88/15/dfb59ede5e3f01cc4620305061a3f48af71658c817e88824f055010cb7c9/lektor_thumbnail_generator-0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f941a001fd6c551c3553b66d94c252d6", "sha256": "a5ef2d475ddac86fca9d447276d3bef54bc3523aea949be15968e90e50e093a3" }, "downloads": -1, "filename": "lektor-thumbnail-generator-0.1.tar.gz", "has_sig": false, "md5_digest": "f941a001fd6c551c3553b66d94c252d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1597, "upload_time": "2017-04-13T23:37:30", "url": "https://files.pythonhosted.org/packages/3a/aa/b791095645694ebfcf6a99f2211f5166ac2b8491b96507e2c004bd7942a9/lektor-thumbnail-generator-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "1d3c4457a9f79f7011b52cd85f08dbfd", "sha256": "ede150f9d212296039176e5b3c30b44582786419a9887d905e7374153572b658" }, "downloads": -1, "filename": "lektor-thumbnail-generator-0.2.tar.gz", "has_sig": false, "md5_digest": "1d3c4457a9f79f7011b52cd85f08dbfd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1693, "upload_time": "2017-04-17T15:45:40", "url": "https://files.pythonhosted.org/packages/65/30/fcb49fe21f46ce01847c78f02e278e0487193ee7656e2444be799e0b65d8/lektor-thumbnail-generator-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "97a727f2b09a9e879eaf6a6500e9700d", "sha256": "778c5b21297926df918b62bf2c03815046e7e7f730d17922f337c4e3908c51a2" }, "downloads": -1, "filename": "lektor_thumbnail_generator-0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "97a727f2b09a9e879eaf6a6500e9700d", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 3372, "upload_time": "2017-05-05T10:58:33", "url": "https://files.pythonhosted.org/packages/ee/ae/3c3457289c9a7e32546941fa44ea06d0469688388e76ff0571df0d136609/lektor_thumbnail_generator-0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f73db728db59dd8ef770933ab23e4c2f", "sha256": "6fb684911a012592413f6eb47ae75254b597c2df3017fa6f3ec3782b2f307f74" }, "downloads": -1, "filename": "lektor-thumbnail-generator-0.3.tar.gz", "has_sig": false, "md5_digest": "f73db728db59dd8ef770933ab23e4c2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1696, "upload_time": "2017-05-05T10:58:29", "url": "https://files.pythonhosted.org/packages/73/86/899b739e32542e43e0847b7cea025e2229fa31650b77c3d16e89b6436053/lektor-thumbnail-generator-0.3.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "1ef2597cb1950d3f2c0c32c00433c767", "sha256": "a24452d59d4d7f389f14df8974e00fc348cb87fcb549362bf8afcff751a23de5" }, "downloads": -1, "filename": "lektor_thumbnail_generator-0.3.3-py3-none-any.whl", "has_sig": false, "md5_digest": "1ef2597cb1950d3f2c0c32c00433c767", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3570, "upload_time": "2018-05-11T20:51:44", "url": "https://files.pythonhosted.org/packages/ee/ab/2a130d1ec153936ab3f32b83ff388f7c6264f11277ca458e9ee42f5b9493/lektor_thumbnail_generator-0.3.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a5436cb75a9eb3f95b40fb9fda4f6296", "sha256": "f3698a48dc70f499fc164c90fdd6ace87c9f7d7199578ff30d43eb7da938477c" }, "downloads": -1, "filename": "lektor-thumbnail-generator-0.3.3.tar.gz", "has_sig": false, "md5_digest": "a5436cb75a9eb3f95b40fb9fda4f6296", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2962, "upload_time": "2018-05-11T20:51:46", "url": "https://files.pythonhosted.org/packages/f3/b0/1c78223d6f49f63882246677966e5b695b020d1f22c24c95e92f6f6b8e9b/lektor-thumbnail-generator-0.3.3.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "d3fec5c069f1d5524670da196548ef5e", "sha256": "31ba056eae20a56fd7843d5ff5a2e61b57953b618e47fb59c7e5c8fe324e191e" }, "downloads": -1, "filename": "lektor_thumbnail_generator-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d3fec5c069f1d5524670da196548ef5e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4119, "upload_time": "2019-10-03T13:05:23", "url": "https://files.pythonhosted.org/packages/10/54/df9bd500c110f97f01a817c00fa08df6356fdb5684468b858b10bc7fee99/lektor_thumbnail_generator-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "da20c1ed2707d9ef777f5fba38338ed0", "sha256": "7d48aede066233992007de9308ad7af5ed7e45b70ba1ad80574f9a94a0b8e9c7" }, "downloads": -1, "filename": "lektor-thumbnail-generator-0.4.0.tar.gz", "has_sig": false, "md5_digest": "da20c1ed2707d9ef777f5fba38338ed0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3498, "upload_time": "2019-10-03T13:05:24", "url": "https://files.pythonhosted.org/packages/86/06/0e300f3e1ce5dcf4ef544de55346601a287f4001d6f9dc95af9f0811adad/lektor-thumbnail-generator-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d3fec5c069f1d5524670da196548ef5e", "sha256": "31ba056eae20a56fd7843d5ff5a2e61b57953b618e47fb59c7e5c8fe324e191e" }, "downloads": -1, "filename": "lektor_thumbnail_generator-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d3fec5c069f1d5524670da196548ef5e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4119, "upload_time": "2019-10-03T13:05:23", "url": "https://files.pythonhosted.org/packages/10/54/df9bd500c110f97f01a817c00fa08df6356fdb5684468b858b10bc7fee99/lektor_thumbnail_generator-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "da20c1ed2707d9ef777f5fba38338ed0", "sha256": "7d48aede066233992007de9308ad7af5ed7e45b70ba1ad80574f9a94a0b8e9c7" }, "downloads": -1, "filename": "lektor-thumbnail-generator-0.4.0.tar.gz", "has_sig": false, "md5_digest": "da20c1ed2707d9ef777f5fba38338ed0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3498, "upload_time": "2019-10-03T13:05:24", "url": "https://files.pythonhosted.org/packages/86/06/0e300f3e1ce5dcf4ef544de55346601a287f4001d6f9dc95af9f0811adad/lektor-thumbnail-generator-0.4.0.tar.gz" } ] }