{"id":19370061,"url":"https://github.com/bustle/ember-cli-image","last_synced_at":"2026-03-01T07:34:41.305Z","repository":{"id":11568847,"uuid":"14056533","full_name":"bustle/ember-cli-image","owner":"bustle","description":"Stateful image components for Ember.js","archived":false,"fork":false,"pushed_at":"2016-11-16T19:39:28.000Z","size":914,"stargazers_count":14,"open_issues_count":0,"forks_count":6,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-09-04T05:38:37.943Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://bustlelabs.github.io/ember-cli-image/","language":"JavaScript","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/bustle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-01T23:21:47.000Z","updated_at":"2018-04-15T17:08:05.000Z","dependencies_parsed_at":"2022-08-24T16:20:55.820Z","dependency_job_id":null,"html_url":"https://github.com/bustle/ember-cli-image","commit_stats":null,"previous_names":["bustlelabs/ember-cli-image"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bustle/ember-cli-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bustle%2Fember-cli-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bustle%2Fember-cli-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bustle%2Fember-cli-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bustle%2Fember-cli-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bustle","download_url":"https://codeload.github.com/bustle/ember-cli-image/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bustle%2Fember-cli-image/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29964180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-10T08:14:07.259Z","updated_at":"2026-03-01T07:34:41.286Z","avatar_url":"https://github.com/bustle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-cli-image\n\nStateful image components for Ember.js\n\nSee the [API documentaion](http://bustlelabs.github.io/ember-cli-image/).\n\n## Installation\n\n```\nnpm install ember-cli-image\n```\n\n## Usage\nThis addon comes with three usable components `stateful-img`, `background-image` and `image-container`\n\n\n```handlebars\n{{stateful-img src=\"img/image1.jpg\" alt=\"Image\" width=100 height=100}}\n```\nRenders a stateful \u003cimg\u003e element whose loading and error states can be\nobserved, and whose class names are updated accordingly.\n\n```handlebars\n{{background-image src=\"img/wallpaper.png\"}}\n```\nLoads a stateful image for its css background-image.\nClass names are updated according to the image state.\n\nIt can also be used as a wrapper around content.\n```handlebars\n{{#background-image src=\"img/wallpaper.png\" class=\"item\"}}\n  \u003cdiv class=\"item__content\"\u003e\n    \u003ch1\u003e{{title}}\u003c/h1\u003e\n    \u003cp\u003e{{message}}\u003c/p\u003e\n  \u003c/div\u003e\n{{/background-image}}\n```\n\n```handlebars\n{{image-container src=\"img/image1.jpg\" alt=\"Image\" width=100 height=100}}\n```\nA container component with a stateful image as a child component.\nClass names are updated according to the image's state. This can be useful when\nyou require a wrapper around your images for tasks like fading in images as they\nlazily load.\n\nCheck out [ember-cli-image-lazy](https://github.com/bustlelabs/ember-cli-image-lazy) for seamlessly enabling lazily-loaded images.\n\nAdditionally, if you're using imgix as your image provider take a look at\n[ember-cli-image-imgix](https://github.com/bustlelabs/ember-cli-image-imgix) for imgix integration.\n\n## Contributing\nFork the repository, create a feature-branch and send in a pull request.\n\n## Running\n\n* `ember server`\n* Visit your app at http://localhost:4200.\n\n## Running Tests\n\n* `ember test`\n* `ember test --server`\n\n## Building\n\n* `ember build`\n\nFor more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbustle%2Fember-cli-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbustle%2Fember-cli-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbustle%2Fember-cli-image/lists"}