{"id":13677823,"url":"https://github.com/FriendsOfShopware/FroshLazySizes","last_synced_at":"2025-04-29T12:31:56.414Z","repository":{"id":64826383,"uuid":"578541172","full_name":"FriendsOfShopware/FroshLazySizes","owner":"FriendsOfShopware","description":"This plugin allows you to use lazy loading for your images.","archived":false,"fork":false,"pushed_at":"2024-04-17T19:21:17.000Z","size":558,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-01T15:31:33.162Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Twig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FriendsOfShopware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-15T09:53:27.000Z","updated_at":"2024-08-18T20:00:24.773Z","dependencies_parsed_at":"2022-12-15T12:57:37.144Z","dependency_job_id":"30f127a5-bf2d-4fba-8fc0-51c1cbecd5a4","html_url":"https://github.com/FriendsOfShopware/FroshLazySizes","commit_stats":{"total_commits":156,"total_committers":11,"mean_commits":"14.181818181818182","dds":0.09615384615384615,"last_synced_commit":"667b7252bd4e311b0e20ff03a7e6963ccb35a1d0"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfShopware%2FFroshLazySizes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfShopware%2FFroshLazySizes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfShopware%2FFroshLazySizes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfShopware%2FFroshLazySizes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FriendsOfShopware","download_url":"https://codeload.github.com/FriendsOfShopware/FroshLazySizes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223906307,"owners_count":17223046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T13:00:47.521Z","updated_at":"2024-11-11T20:30:24.381Z","avatar_url":"https://github.com/FriendsOfShopware.png","language":"Twig","funding_links":[],"categories":["Plugins"],"sub_categories":["Speed Optimizations"],"readme":"# LazySizes for Shopware 6\n\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md) [![Shopware Store](https://img.shields.io/badge/shopware-store-blue.svg?style=flat-square)](https://store.shopware.com/en/search?sSearch=FroshLazySizes)\n \nThis plugin has built-in Lazyloading with auto generated sizes for best fitting sizes.  \n![2.png](src%2FResources%2Fstore%2Fimages%2F2.png)\n\n## Install\n\nDownload the plugin from the release page and enable it in shopware.\n\n### By composer\n\n`composer require frosh/lazy-sizes`\n\n### From source\n\nRun `npm install` in `src/Resources/app/storefront` within the plugin directory\n\n### By zip\n\ndownload latest release and upload into admin:\nhttps://github.com/FriendsOfShopware/FroshLazySizes/releases/latest/download/FroshLazySizes.zip\n\n## Adding more thumbnail sizes:\n- Save new size in the folder of the media management\n- then run the command `bin/console media:generate-thumbnails` on the console to update the thumbnails for all images in the database\n- Clear shop cache\n\n## Selectively deactivate plugins lazysizes and lazyloading function\nThis might be useful to optimize loading images `above the fold` or if you don't like to use the plugin for specific images or tooltip.\n\n### Specific images\nAdd variable `lazysizes` with value `false` before using `sw_thumbnails` in the template.\n\n### Cms sections\nAdd css class `no-lazysizes` to your sections\n\n### Cms blocks\nAdd css class `no-lazysizes` to your block\n\n#### Overwrite `no-lazysizes` of sections class in block\nAdd class `lazysizes` to your block\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFriendsOfShopware%2FFroshLazySizes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFriendsOfShopware%2FFroshLazySizes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFriendsOfShopware%2FFroshLazySizes/lists"}