{"id":20829222,"url":"https://github.com/ericmagnuson/captionjs","last_synced_at":"2025-05-07T21:22:01.738Z","repository":{"id":3243490,"uuid":"4280471","full_name":"ericmagnuson/captionjs","owner":"ericmagnuson","description":"An open-source jQuery plugin to easily and semantically add captions to images.","archived":false,"fork":false,"pushed_at":"2017-02-25T23:44:48.000Z","size":1097,"stargazers_count":63,"open_issues_count":5,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-28T01:35:15.227Z","etag":null,"topics":["accessibility","caption","captions","css","javascript","js","schema"],"latest_commit_sha":null,"homepage":"https://captionjs.com","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"CyanogenMod/android_device_hp_tenderloin","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericmagnuson.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-05-10T05:08:56.000Z","updated_at":"2025-02-20T18:16:07.000Z","dependencies_parsed_at":"2022-08-20T10:10:53.580Z","dependency_job_id":null,"html_url":"https://github.com/ericmagnuson/captionjs","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericmagnuson%2Fcaptionjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericmagnuson%2Fcaptionjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericmagnuson%2Fcaptionjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericmagnuson%2Fcaptionjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericmagnuson","download_url":"https://codeload.github.com/ericmagnuson/captionjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252955164,"owners_count":21831061,"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":["accessibility","caption","captions","css","javascript","js","schema"],"created_at":"2024-11-17T23:19:43.332Z","updated_at":"2025-05-07T21:22:01.714Z","avatar_url":"https://github.com/ericmagnuson.png","language":"CSS","readme":"## Documentation\n\nInstall using NPM:\n\n```bash\nnpm install --save captionjs\n```\n\nInstall using Bower:\n\n```bash\nbower install captionjs\n```\n\nBelow is the basic setup for caption.js.  For more info, please see [captionjs.com](http://captionjs.com).\n\n```js\n$(window).load(function() {\n    $('img.caption').captionjs({\n\t\t'class_name'      : 'captionjs', // Class name for each \u003cfigure\u003e\n\t\t'schema'          : true,        // Use schema.org markup (i.e., itemtype, itemprop)\n\t\t'mode'            : 'default',   // default | stacked | animated | hidden (deprecated: hide)\n\t\t'debug_mode'      : false,       // Output debug info to the JS console\n\t\t'force_dimensions': true,        // Force the dimensions in case they cannot be detected (e.g., image is not yet painted to viewport)\n\t\t'is_responsive'   : false,       // Ensure the figure and image change size when in responsive layout. Requires a container to control responsiveness!\n\t\t'inherit_styles'  : false        // Have the caption.js container inherit box-model properties from the original image\n\t});\n});\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericmagnuson%2Fcaptionjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericmagnuson%2Fcaptionjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericmagnuson%2Fcaptionjs/lists"}