{"id":21239849,"url":"https://github.com/horttcore/wp-image-sizes","last_synced_at":"2026-05-09T16:47:24.126Z","repository":{"id":62533060,"uuid":"189654123","full_name":"Horttcore/wp-image-sizes","owner":"Horttcore","description":"A helper class for registering image sizes","archived":false,"fork":false,"pushed_at":"2019-11-16T17:18:24.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T09:45:38.141Z","etag":null,"topics":["package","plugin","theme","wordpress"],"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/Horttcore.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":"2019-05-31T20:24:00.000Z","updated_at":"2021-02-20T14:09:06.000Z","dependencies_parsed_at":"2022-11-02T14:33:23.030Z","dependency_job_id":null,"html_url":"https://github.com/Horttcore/wp-image-sizes","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horttcore%2Fwp-image-sizes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horttcore%2Fwp-image-sizes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horttcore%2Fwp-image-sizes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Horttcore%2Fwp-image-sizes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Horttcore","download_url":"https://codeload.github.com/Horttcore/wp-image-sizes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243681003,"owners_count":20330155,"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":["package","plugin","theme","wordpress"],"created_at":"2024-11-21T00:45:59.071Z","updated_at":"2025-10-06T20:27:49.036Z","avatar_url":"https://github.com/Horttcore.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP Image Sizes ![StyleCI](https://github.styleci.io/repos/189654123/shield?branch=master)\n\nA helper class to register image sizes\n\n## Description\n\nImage sizes are register like the default function add_image_size, beside of that, the image size will be added to the dropdown selection.\n\n## Installation\n\n`$ composer require ralfhortt/wp-image-sizes`\n\n## Documentation\n\n```php\n\u003c?php\nnew ImageSize(string $identifier, string $label, int $width, int $height, bool $crop);\n```\n\n## Usage\n\n```php\n\u003c?php\nuse RalfHortt\\ImageSizes\\ImageSize;\n\n(new ImageSize('tiny', __('Tiny', 'TEXTDOMAIN'), 50, 50, true))-\u003eregister();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorttcore%2Fwp-image-sizes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhorttcore%2Fwp-image-sizes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhorttcore%2Fwp-image-sizes/lists"}