{"id":35208208,"url":"https://github.com/swichers/drupal-max_image_size","last_synced_at":"2026-04-24T11:31:35.992Z","repository":{"id":76812687,"uuid":"52905628","full_name":"swichers/drupal-max_image_size","owner":"swichers","description":"This module will resize uploaded images to be below the set dimensions.","archived":false,"fork":false,"pushed_at":"2017-06-14T23:39:50.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"7.x-1.x","last_synced_at":"2026-01-01T15:09:44.574Z","etag":null,"topics":["drupal","drupal-7","drupal-module"],"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/swichers.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-03-01T19:57:16.000Z","updated_at":"2019-07-28T22:21:51.000Z","dependencies_parsed_at":"2023-03-06T13:30:25.203Z","dependency_job_id":null,"html_url":"https://github.com/swichers/drupal-max_image_size","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/swichers/drupal-max_image_size","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swichers%2Fdrupal-max_image_size","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swichers%2Fdrupal-max_image_size/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swichers%2Fdrupal-max_image_size/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swichers%2Fdrupal-max_image_size/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swichers","download_url":"https://codeload.github.com/swichers/drupal-max_image_size/tar.gz/refs/heads/7.x-1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swichers%2Fdrupal-max_image_size/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32221211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["drupal","drupal-7","drupal-module"],"created_at":"2025-12-29T16:00:52.953Z","updated_at":"2026-04-24T11:31:35.987Z","avatar_url":"https://github.com/swichers.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"This module will resize uploaded images to be below the set dimensions. It is\nnot an image style or other presentation layer module. If you want to maintain\nthe original image you should use\n[Image Resize Filter](https://www.drupal.org/project/image_resize_filter) or an\nimage style. The use case for this module is sites where users may upload very\nlarge images, but you do not want/need to keep the original.\n\nThis is different from the core image field size restrictions in that it will\nwork on already uploaded files and imported content.\n\n## Related\n\nThese modules will allow you to adjust the size of the displayed image while\nleaving the original untouched:\n\n * [Image Resize Filter](https://www.drupal.org/project/image_resize_filter)\n * [Imagecache](https://www.drupal.org/project/imagecache)\n\n## Usage\n\nSimply enable the module and it will begin resizing images when they are\nuploaded. It will scan for images above the configured dimensions once a day and\nqueue them to be resized.\n\nBy default this module will resize images to be under 2560x1600. If you want to\nchange the dimensions it uses then you will need to update the module's\nconfiguration. You can do this either through the interface, or by editing your\nsettings.php and setting the following:\n\n```\n\u003c?php\n  $conf['max_image_size_width'] = 2560;\n  $conf['max_image_size_height'] = 1600;\n?\u003e\n```\n\n### Drush\n\nThere are two drush commands available:\n\n`drush misq`: Queue images to process.\n`drush misp`: Process images.\n\nYou can get more help and information by typing `drush help \u003ccommand\u003e`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswichers%2Fdrupal-max_image_size","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswichers%2Fdrupal-max_image_size","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswichers%2Fdrupal-max_image_size/lists"}