{"id":17046611,"url":"https://github.com/sebobo/shel.neos.imagechecker","last_synced_at":"2025-10-07T12:56:15.766Z","repository":{"id":61285359,"uuid":"496932411","full_name":"Sebobo/Shel.Neos.ImageChecker","owner":"Sebobo","description":"Checks certain characteristics when choosing image in Neos CMS","archived":false,"fork":false,"pushed_at":"2025-04-03T13:57:45.000Z","size":57242,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T12:56:15.056Z","etag":null,"topics":["hacktoberfest","neoscms"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sebobo.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"patreon":"shelzle","github":"sebobo"}},"created_at":"2022-05-27T09:13:22.000Z","updated_at":"2025-04-03T13:57:25.000Z","dependencies_parsed_at":"2024-11-07T14:01:51.651Z","dependency_job_id":"658e3b4e-b62f-44fe-ba14-ae235a15dabc","html_url":"https://github.com/Sebobo/Shel.Neos.ImageChecker","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":0.07692307692307687,"last_synced_commit":"4f7d37455a0012df20585f2d6a13cd3941876205"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Sebobo/Shel.Neos.ImageChecker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sebobo%2FShel.Neos.ImageChecker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sebobo%2FShel.Neos.ImageChecker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sebobo%2FShel.Neos.ImageChecker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sebobo%2FShel.Neos.ImageChecker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sebobo","download_url":"https://codeload.github.com/Sebobo/Shel.Neos.ImageChecker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sebobo%2FShel.Neos.ImageChecker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278778967,"owners_count":26044256,"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-10-07T02:00:06.786Z","response_time":59,"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":["hacktoberfest","neoscms"],"created_at":"2024-10-14T09:46:52.759Z","updated_at":"2025-10-07T12:56:15.735Z","avatar_url":"https://github.com/Sebobo.png","language":"TypeScript","funding_links":["https://patreon.com/shelzle","https://github.com/sponsors/sebobo"],"categories":[],"sub_categories":[],"readme":"# Image editor plugin with additional checks for Neos CMS\n\n[![Tests](https://github.com/Sebobo/Shel.Neos.ColorPicker/actions/workflows/tests.yml/badge.svg)](https://github.com/Sebobo/Shel.Neos.ColorPicker/actions/workflows/tests.yml)\n\nThis package provides a Neos CMS plugin which extends the default Neos image editor with additional checks for the \nselected image. It supports global and individual configurations for each image type.\n\n## Installation\n\nAdd the plugin as dependency to your Neos CMS project:\n\n    composer require shel/neos-image-checker\n\n## Examples\n\n### Example with all checks passing\n\n[![Example with passed checks](Documentation/imagechecker-valid.png)](Documentation/imagechecker-valid.png)\n\nNote: the details are not shown by default and can be toggled by clicking on the \"i\" button.\n\n### Example with some checks failing\n\n[![Example with failed checks](Documentation/imagechecker-invalid.png)](Documentation/imagechecker-invalid.png)\n\nNote: the details are shown in this case by default and can be toggled by clicking on the \"alert\" button.\n\n## Configuration\n\nAfter installation the default image editor in your Neos installation is replaced by the one from this package.\nThe additional functionality only wraps the provided Neos image editor, so it doesn't contain the editors code\nand in most cases supports updating the Neos UI without needing updates for this plugin.\n\n### Global settings\n\nGlobal defaults for each image editor\n\n```yaml\nNeos:\n  Neos:\n    Ui:\n     frontendConfiguration:\n      'Shel.Neos.ImageChecker:ImageChecker':\n        enabled: true # allows disabling the checks for all image properties\n        defaults:\n          fileSize:\n            default: 2048\n            svg: null\n            png: null\n            jpg: null\n          fileDimensions:\n            maxWidth: null\n            maxHeight: null\n            minWidth: null\n            minHeight: null\n          fileName:\n            allowedPattern: '^[0-9a-zA-Z_\\-.]+$'\n```\n\n### Individual settigns\n\nFor each image property of a nodetype you can override single or all of the following settings:\n\n```yaml\nMy.Vendor:My.NodeType:\n  properties:\n    image:\n      type: 'Neos\\Media\\Domain\\Model\\ImageInterface'\n      ui:\n        label: 'Some image'\n        reloadIfChanged: true\n        inspector:\n          group: image\n          editorOptions:\n            features:\n              imageCheck: # optional overrides\n                fileSize: # in kb\n                  default: 2048 # optional\n                  svg: 100 # optional\n                  jpg: 2048 # optional\n                  png: 2048 # optional\n                fileDimensions: # in px, only affects jpg and pngs\n                  maxWidth: 500\n                  maxHeight: 300\n                fileName: # matches the filename without extension\n                  allowedPattern: '^[a-z]+$'\n```\n\n## License\n\nSee [License](LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebobo%2Fshel.neos.imagechecker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebobo%2Fshel.neos.imagechecker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebobo%2Fshel.neos.imagechecker/lists"}