{"id":13447644,"url":"https://github.com/joshje/Responsive-Enhance","last_synced_at":"2025-03-22T01:31:10.250Z","repository":{"id":2375132,"uuid":"3339984","full_name":"joshje/Responsive-Enhance","owner":"joshje","description":"Javascript to load a larger image where necessary","archived":false,"fork":false,"pushed_at":"2012-06-13T14:05:54.000Z","size":103,"stargazers_count":376,"open_issues_count":0,"forks_count":27,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-10-28T13:10:46.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshje.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-02-02T23:27:02.000Z","updated_at":"2024-07-03T09:40:59.000Z","dependencies_parsed_at":"2022-09-14T13:01:36.997Z","dependency_job_id":null,"html_url":"https://github.com/joshje/Responsive-Enhance","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshje%2FResponsive-Enhance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshje%2FResponsive-Enhance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshje%2FResponsive-Enhance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshje%2FResponsive-Enhance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshje","download_url":"https://codeload.github.com/joshje/Responsive-Enhance/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244893422,"owners_count":20527587,"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-07-31T05:01:23.278Z","updated_at":"2025-03-22T01:31:09.958Z","avatar_url":"https://github.com/joshje.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"Responsive Enhance\n==================\n\nThis script will check whether an image is larger than a specified width and load a full resolution image if necessary.\n\n    \u003cimg id=\"demo\" src=\"http://dummyimage.com/400x300\" alt=\"Responsive Image\" data-fullsrc=\"http://dummyimage.com/800x600\"\u003e\n    \u003cscript\u003eresponsiveEnhance(document.getElementById('demo'), 400);\u003c/script\u003e\n    \nThis will replace the image with the image defined in the `data-fullsrc` when the image is wider than 400 pixels.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshje%2FResponsive-Enhance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshje%2FResponsive-Enhance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshje%2FResponsive-Enhance/lists"}