{"id":20929366,"url":"https://github.com/workeffortwaste/consoleimg","last_synced_at":"2025-12-26T16:08:26.332Z","repository":{"id":38680581,"uuid":"267575489","full_name":"workeffortwaste/consoleimg","owner":"workeffortwaste","description":"Display images in your developer console!","archived":false,"fork":false,"pushed_at":"2020-05-29T20:13:21.000Z","size":1941,"stargazers_count":161,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-13T01:41:56.172Z","etag":null,"topics":["console","fun","library"],"latest_commit_sha":null,"homepage":"https://defaced.dev/tools/consoleimg/","language":"HTML","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/workeffortwaste.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":"2020-05-28T11:47:36.000Z","updated_at":"2025-02-13T11:21:00.000Z","dependencies_parsed_at":"2022-08-25T01:30:56.511Z","dependency_job_id":null,"html_url":"https://github.com/workeffortwaste/consoleimg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/workeffortwaste/consoleimg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workeffortwaste%2Fconsoleimg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workeffortwaste%2Fconsoleimg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workeffortwaste%2Fconsoleimg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workeffortwaste%2Fconsoleimg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workeffortwaste","download_url":"https://codeload.github.com/workeffortwaste/consoleimg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workeffortwaste%2Fconsoleimg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28056842,"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-12-26T02:00:06.189Z","response_time":55,"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":["console","fun","library"],"created_at":"2024-11-18T21:19:06.171Z","updated_at":"2025-12-26T16:08:26.269Z","avatar_url":"https://github.com/workeffortwaste.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# consoleimg\n## Display images in your developer console!\nhttps://defaced.dev/tools/consoleimg/\n### Usage\nUse the following code before the closing `\u003c/body\u003e` tag.\n```\n    \u003cscript src=\"consoleimg.min.js\"\u003e\u003c/script\u003e\n    \u003cscript\u003e\n        consoleimg.load('image.jpg', {size: 320, color: '#FFFFFF'})\n    \u003c/script\u003e\n```\n#### Optional arguments\n`size`\n\nMaximum height for the image to be displayed at. The default is 320.\n\n`color`\n\nCSS background-color to be used for the image. The default is transparent.\n### Compatibility\n#### Browsers\n* Chrome - No known issues\n* Safari - Issue with images repeating\n* Edge (Chromium) - No known issues\n* Firefox - Restricted to images below 8KB\n#### Image Formats\nAll image formats that are supported by CSS background-image should work without issue, including SVGs with animation.\n\nYes, that does include animated .gifs.\n\n### Demo\nSee http://defaced.dev/web/the-buggiest-site-on-the-web/ for a working example.\n\n### Frequently Asked Questions\n#### Why on earth would you make this?\nSorry :-(\n\n#### Will it slow down my website?\nThe image request uses the fetch API asynchronously, unless you're loading large images there shouldn't be a significant impact.\n\n#### What happens on mobile?\nBy default the images will still be downloaded. It's up to you to decide if you want to detect for a mobile device and not push the image to the console.\n\n#### Who made this?\nI did, you can find me on Twitter for more nonsense like this.\n\n@defaced\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkeffortwaste%2Fconsoleimg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkeffortwaste%2Fconsoleimg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkeffortwaste%2Fconsoleimg/lists"}