{"id":21916874,"url":"https://github.com/zenoo/image-input-preview","last_synced_at":"2025-03-22T09:41:00.615Z","repository":{"id":51866405,"uuid":"160324483","full_name":"Zenoo/image-input-preview","owner":"Zenoo","description":"Display a preview for your image inputs","archived":false,"fork":false,"pushed_at":"2021-05-09T10:33:20.000Z","size":505,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T13:32:10.137Z","etag":null,"topics":["image-input","input","preview"],"latest_commit_sha":null,"homepage":"","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/Zenoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-04T08:32:40.000Z","updated_at":"2021-03-31T07:12:27.000Z","dependencies_parsed_at":"2022-08-23T11:41:00.819Z","dependency_job_id":null,"html_url":"https://github.com/Zenoo/image-input-preview","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fimage-input-preview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fimage-input-preview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fimage-input-preview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zenoo%2Fimage-input-preview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zenoo","download_url":"https://codeload.github.com/Zenoo/image-input-preview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937740,"owners_count":20535124,"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":["image-input","input","preview"],"created_at":"2024-11-28T19:21:17.513Z","updated_at":"2025-03-22T09:41:00.589Z","avatar_url":"https://github.com/Zenoo.png","language":"JavaScript","readme":"# Image Input Preview ([Demo](https://jsfiddle.net/Zenoo0/y8v52wpd/))\n\nDisplay a preview for your image inputs easily\n\n### Doc\n\n* **Installation**\n\nSimply import image-input-preview into your HTML.\n```\n\u003clink rel=\"stylesheet\" type=\"text/css\" href=\"https://unpkg.com/image-input-preview@0.0.10/ImageInputPreview.min.css\"\u003e\n\u003cscript src=\"https://unpkg.com/image-input-preview@0.0.10/ImageInputPreview.min.js\"\u003e\u003c/script\u003e\n```\n* **Documentation**\n\nSee the offical [documentation](https://zenoo.github.io/image-input-preview/ImageInputPreview.html) for more in-depth informations.\n\n* **How to use**\n\nYou can either use data attributes or the `ImageInputAttribute` class to initialyze your inputs:\n```\n\u003cinput type=\"file\" accept=\"image/*\" data-preview=\"https://link.to.your.preview.net\"\u003e\n// OR\nlet preview = new ImageInputPreview(input, {\n  preview: 'https://link.to.your/preview.png',        // Optional | Preview displayed\n  uploadIcon: 'https://link.to.your.upload/icon.png', // Optional | Icon used when no preview is displayed\n  lang: 'en',                                         // Optional | Language used\n  dictionary: null                                    // Optional | Allow for custom language\n});\n```\n\n* **Methods**\n\nSee the [documentation](https://zenoo.github.io/image-input-preview/ImageInputPreview.html) for the method definitions.\n\n\n* **Example**\n\nSee this [JSFiddle](https://jsfiddle.net/Zenoo0/y8v52wpd/) for a working example\n\n## Authors\n\n* **Zenoo** - *Initial work* - [Zenoo.fr](http://zenoo.fr)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenoo%2Fimage-input-preview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenoo%2Fimage-input-preview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenoo%2Fimage-input-preview/lists"}