{ "info": { "author": "Jonathan Mason", "author_email": "jm0804@protonmail.ch", "bugtrack_url": null, "classifiers": [ "Environment :: Plugins", "Framework :: Lektor" ], "description": "# netlify-lfs-resize-url\n\nThis plugin provides a filter that allows the user to generate [Netlify Image Transformation](https://www.netlify.com/docs/image-transformation/) resize URL parameters when working with [Netlify Large Media](https://www.netlify.com/docs/large-media/).\n\n## Installation\n\nYou can install this plugin by running the following command in your project's directory:\n\n lektor plugins add netlify-lfs-resize-url\n\n## Usage\n\nThe `nf_resize` filter works in conjunction with the `url` filter as follows:\n\n {% for image in this.attachments.images %}\n \n {% endfor %}\n\nThe above will return the following:\n\n``\n\n### Arguments\n\nArguments correspond to [Netlify transformation parameters](https://www.netlify.com/docs/image-transformation/#parameters-for-transformation).\n\n| Argument | Accepts | Default |\n|-------------|--------------------|---------|\n| `nf_resize` | 'fit', 'smartcrop' | 'fit' |\n| `h` | Positive integers | `null` |\n| `w` | Positive integers | `null` |\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://gitlab.com/JM0804/lektor-netlify-lfs-resize-url", "keywords": "Lektor plugin", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "lektor-netlify-lfs-resize-url", "package_url": "https://pypi.org/project/lektor-netlify-lfs-resize-url/", "platform": "", "project_url": "https://pypi.org/project/lektor-netlify-lfs-resize-url/", "project_urls": { "Homepage": "https://gitlab.com/JM0804/lektor-netlify-lfs-resize-url" }, "release_url": "https://pypi.org/project/lektor-netlify-lfs-resize-url/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "Convert image URLs to Netlify LFS resize URLs.", "version": "0.1.2" }, "last_serial": 5378896, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "49021b617ec6c3d2758b8a4869eeb488", "sha256": "dc157209e4fc9d6127d1a85b57e1b4bcd4a24d80b622a32df066db1321a2b92f" }, "downloads": -1, "filename": "lektor_netlify_lfs_resize_url-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "49021b617ec6c3d2758b8a4869eeb488", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2669, "upload_time": "2019-06-09T19:47:53", "url": "https://files.pythonhosted.org/packages/53/ad/b0694feacdda3edd6b8f41d8247cec3c0ce9d03ac4978c7183f9f3c2865c/lektor_netlify_lfs_resize_url-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee9c93b02faea96e25519c6e5b252b36", "sha256": "e1a9ff12a233e7436a5377d85e9e75525c41b8785864c38e1b6ad81dc244c287" }, "downloads": -1, "filename": "lektor-netlify-lfs-resize-url-0.1.tar.gz", "has_sig": false, "md5_digest": "ee9c93b02faea96e25519c6e5b252b36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2054, "upload_time": "2019-06-09T19:47:55", "url": "https://files.pythonhosted.org/packages/12/d8/15301c27e0bbab99c53400643db117832fdce6aa1a328098191e80e8b0ac/lektor-netlify-lfs-resize-url-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "368cbc7de547d1d27f9490ff9c74cbf5", "sha256": "35644f56c622b64af1faf8fc655618674fc96b2b721fb44e26b1b2a7be76c329" }, "downloads": -1, "filename": "lektor_netlify_lfs_resize_url-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "368cbc7de547d1d27f9490ff9c74cbf5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2755, "upload_time": "2019-06-09T21:12:42", "url": "https://files.pythonhosted.org/packages/a5/d6/664d574dd3bac9fe03e0c010b1ff174f876632e63bfcc0b230867f72f7a3/lektor_netlify_lfs_resize_url-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f7620550ecc43178fe4da524e709c614", "sha256": "c87b2bea56a50ecc1bd1e508bce59ccab01a31d4d17a959d3dc3d729eeb4a55a" }, "downloads": -1, "filename": "lektor-netlify-lfs-resize-url-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f7620550ecc43178fe4da524e709c614", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2136, "upload_time": "2019-06-09T21:12:45", "url": "https://files.pythonhosted.org/packages/64/85/deb1be5962c03e20883de55b2112297c48ed532599a44d5b75504f09d4b8/lektor-netlify-lfs-resize-url-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "8aea62c15806bb91d9d135df7f43b6fd", "sha256": "7ed32748a0392d6e651e8c68dcd035d0bbc08395fff2dac812ce8163b545b2c0" }, "downloads": -1, "filename": "lektor_netlify_lfs_resize_url-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "8aea62c15806bb91d9d135df7f43b6fd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2772, "upload_time": "2019-06-09T22:00:36", "url": "https://files.pythonhosted.org/packages/27/ee/947235122e519dc12a75bf43257de307c7f5ffdf9d31b021cc33fecbf643/lektor_netlify_lfs_resize_url-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "311165e8b2660d9f1b4f5d375e7c4e70", "sha256": "ba7d541d133b34e6e445cd48b97aa613ba6a5eb1b46218cb2c2518378c598902" }, "downloads": -1, "filename": "lektor-netlify-lfs-resize-url-0.1.2.tar.gz", "has_sig": false, "md5_digest": "311165e8b2660d9f1b4f5d375e7c4e70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2139, "upload_time": "2019-06-09T22:00:39", "url": "https://files.pythonhosted.org/packages/3a/9c/4c373a044a9294a3e4754f658a084d1862e2950747697a183d8525fd8573/lektor-netlify-lfs-resize-url-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8aea62c15806bb91d9d135df7f43b6fd", "sha256": "7ed32748a0392d6e651e8c68dcd035d0bbc08395fff2dac812ce8163b545b2c0" }, "downloads": -1, "filename": "lektor_netlify_lfs_resize_url-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "8aea62c15806bb91d9d135df7f43b6fd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2772, "upload_time": "2019-06-09T22:00:36", "url": "https://files.pythonhosted.org/packages/27/ee/947235122e519dc12a75bf43257de307c7f5ffdf9d31b021cc33fecbf643/lektor_netlify_lfs_resize_url-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "311165e8b2660d9f1b4f5d375e7c4e70", "sha256": "ba7d541d133b34e6e445cd48b97aa613ba6a5eb1b46218cb2c2518378c598902" }, "downloads": -1, "filename": "lektor-netlify-lfs-resize-url-0.1.2.tar.gz", "has_sig": false, "md5_digest": "311165e8b2660d9f1b4f5d375e7c4e70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2139, "upload_time": "2019-06-09T22:00:39", "url": "https://files.pythonhosted.org/packages/3a/9c/4c373a044a9294a3e4754f658a084d1862e2950747697a183d8525fd8573/lektor-netlify-lfs-resize-url-0.1.2.tar.gz" } ] }