{"id":32226941,"url":"https://github.com/vin-ai/jquery.smartify.js","last_synced_at":"2025-12-12T04:02:02.844Z","repository":{"id":57282664,"uuid":"51495636","full_name":"vin-ai/jquery.smartify.js","owner":"vin-ai","description":"jQuery Smartify loads images, calls Ajax, plays with css classes in on demand, while element is/or becoming visible in device Viewport. Replacement of jQuery Lazyload.","archived":false,"fork":false,"pushed_at":"2019-12-17T15:26:18.000Z","size":252,"stargazers_count":11,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-22T09:59:31.034Z","etag":null,"topics":["device-viewport","frontend-webdevelopment","jquery-lazyload","jquery-plugin","smartify","viewport"],"latest_commit_sha":null,"homepage":"http://www.vin-sha.in/jquery-plugins/jquery.smartify","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/vin-ai.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-11T05:16:40.000Z","updated_at":"2019-12-17T17:08:01.000Z","dependencies_parsed_at":"2022-08-31T00:21:50.038Z","dependency_job_id":null,"html_url":"https://github.com/vin-ai/jquery.smartify.js","commit_stats":null,"previous_names":["vinaykrsharma/jquery.smartify"],"tags_count":2,"template":true,"template_full_name":null,"purl":"pkg:github/vin-ai/jquery.smartify.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vin-ai%2Fjquery.smartify.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vin-ai%2Fjquery.smartify.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vin-ai%2Fjquery.smartify.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vin-ai%2Fjquery.smartify.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vin-ai","download_url":"https://codeload.github.com/vin-ai/jquery.smartify.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vin-ai%2Fjquery.smartify.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280416602,"owners_count":26327044,"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","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["device-viewport","frontend-webdevelopment","jquery-lazyload","jquery-plugin","smartify","viewport"],"created_at":"2025-10-22T09:59:47.142Z","updated_at":"2025-10-22T09:59:48.391Z","avatar_url":"https://github.com/vin-ai.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery Smartify\n\njQuery Smartify boosts web application load times and lazy loads images, calls Ajax, plays with css classes in/on demand, while element is/or being visible in device viewport.\n\nIt has full capability of [jQuery Lazyload](https://github.com/tuupola/jquery_lazyload), but with more elements coverage and advanced. This doesn't only work for \u0026lt;img\u0026gt;, have capabality to smartify any elements!\n\nPlugin is inspired by [jQuery Lazyload](https://github.com/tuupola/jquery_lazyload) created by [Mika Tuupola](https://github.com/tuupola).\n\n### Features, Benefits \u0026 Plans\n\n- [x] Boost your web application load time.\n- [x] Multiple Elements Support\n- [x] Dynamically load contents via Ajax call. e.g: Load each section on just before becoming visible.\n- [x] Infinite load items, such as products to sale. Best for e-commerce websites.\n- [x] Load images when visible in viewport.\n- [x] Load dynamic images for different DPI supports. Such as 3x for High Res(Retina) display.\n- [x] Toggle, Add or Remove element classes.\n- [x] Or just call User defined callback function.\n- [ ] HTML5 History API (wip)\n\n## Getting Started\n\nPreferred method:\n* Install with [Bower]: `$ bower install smartify`\n\nOther methods:\n* [Download zipball of latest release][zipball].\n* Download the latest production or development files individually:\n  * *[min]* (Production version)\n  * *[max]* (Development version)\n\n**Note:** *jquery.smartify.js* have a dependency on [jQuery]\n\n\u003c!-- section links --\u003e\n\n[Bower]: http://bower.io/\n[zipball]: https://github.com/vinaykrsharma/jquery.smartify/archive/1.0.0.zip\n[jQuery]: http://jquery.com/\n[min]: https://raw.github.com/vinaykrsharma/jquery.smartify/master/dist/jquery.smartify.min.js\n[max]: https://raw.github.com/vinaykrsharma/jquery.smartify/master/dist/jquery.smartify.js\n\n\nQuick Start\n-----------\n\n```html\n\u003c!-- Elements to Smartify --\u003e\n\u003cimg class=\"smartify\" sm-src=\"/static/path/to/img.png\"\u003e\n\n...\n\n\u003c!-- JavaScript before \u003c/body\u003e --\u003e\n\u003cscript src=\"//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"dist/jquery.smartify.min.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\njQuery(function($) {\n  $('.smartify').smartify(); // \"smartify\"\n});\n\u003c/script\u003e\n```\n\nExamples\n--------\n\nFor some working examples of Smartify, visit the [examples page].\n\n\u003c!-- section links --\u003e\n\n[examples page]: http://www.vinay-sharma.com/jquery-plugins/jquery.smartify/demo.html\n\n\nDocumentation\n-------------\n\n[Docs](http://www.vinay-sharma.com/jquery-plugins/jquery.smartify)\n\nBrowser Support\n---------------\n\nManually Tested Platforms on Linux and Mac OS X only ()\n\n* Chrome (Linux/Mac OS X/Android 5.1+)\n* Firefox 40+ (Linux/Mac OS X/Android 5.1+)\n* Safari 5+ (Mac OS X)\n* Opera 11+  (Linux/Mac OS X/Android 5.1+)\n\nIssues\n------\n\nDiscovered a bug? Please create an issue here on GitHub!\n\nhttps://github.com/vinaykrsharma/jquery.smartify/issues\n\nVersioning\n----------\n\nFor transparency and insight into our release cycle, releases will be numbered \nwith the following format:\n\n`\u003cmajor\u003e.\u003cminor\u003e.\u003cpatch\u003e`\n\nAnd constructed with the following guidelines:\n\n* Breaking backwards compatibility bumps the major\n* New additions without breaking backwards compatibility bumps the minor\n* Bug fixes and misc changes bump the patch\n\nFor more information on semantic versioning, please visit http://semver.org/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvin-ai%2Fjquery.smartify.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvin-ai%2Fjquery.smartify.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvin-ai%2Fjquery.smartify.js/lists"}