{"id":17472462,"url":"https://github.com/sleeplessbyte/wp-dj-thumbnails","last_synced_at":"2026-04-12T23:33:02.282Z","repository":{"id":6769872,"uuid":"8016664","full_name":"SleeplessByte/wp-dj-thumbnails","owner":"SleeplessByte","description":"Wordpress plugin for an thumbnail fallback system. Will only display thumbnails when of the required thumbnail size.","archived":false,"fork":false,"pushed_at":"2013-02-05T19:26:40.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T19:46:51.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/SleeplessByte.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":"2013-02-04T21:30:27.000Z","updated_at":"2013-11-02T23:57:12.000Z","dependencies_parsed_at":"2022-07-05T17:03:22.663Z","dependency_job_id":null,"html_url":"https://github.com/SleeplessByte/wp-dj-thumbnails","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SleeplessByte/wp-dj-thumbnails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleeplessByte%2Fwp-dj-thumbnails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleeplessByte%2Fwp-dj-thumbnails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleeplessByte%2Fwp-dj-thumbnails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleeplessByte%2Fwp-dj-thumbnails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SleeplessByte","download_url":"https://codeload.github.com/SleeplessByte/wp-dj-thumbnails/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleeplessByte%2Fwp-dj-thumbnails/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285342136,"owners_count":27155385,"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-11-19T02:00:05.673Z","response_time":65,"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":[],"created_at":"2024-10-18T17:18:10.880Z","updated_at":"2025-11-19T23:03:32.522Z","avatar_url":"https://github.com/SleeplessByte.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"wp-dj-thumbnails\n================\n\nWordpress plugin for an thumbnail fallback system. Will only display thumbnails when of the required \nthumbnail size.\n\nFilters: \n  * `get_fallback_tree_items`\t: runs before the fallback tree is created\n  * `get_required_thumbsize`\t: runs on the admin page. requires this size\n\nYou can use the first filter to add new fallback items. Simply provide a name, a function and a name\nafter which this item is inserted.\n\n````php\nfunction get_fallback_tree_items( $fallback_items ) {\n  \t\t$fallback_items[ ::name:: ] = array('function' =\u003e ::function::, 'after' =\u003e ::name:: or null );\n      return $fallback_items;\n}\n````\n\nThe function header for fallback_items is\n\n````php\nfunction function_name( $post_id, $args = array() ) \n````\n\nAnd should return an `array` or `NULL`.\n\nYou can use the second filter to change the required thumbsize. It should return a `string` or and `array` with sizes. \nThis will be used by default when querying for thumbnails. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleeplessbyte%2Fwp-dj-thumbnails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsleeplessbyte%2Fwp-dj-thumbnails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleeplessbyte%2Fwp-dj-thumbnails/lists"}