{"id":21813191,"url":"https://github.com/webdevstudios/wds-image-grabber","last_synced_at":"2025-04-13T23:26:18.624Z","repository":{"id":33679525,"uuid":"37332273","full_name":"WebDevStudios/WDS-Image-Grabber","owner":"WebDevStudios","description":"Get a list of image URLs from a remote address and return them in an array","archived":false,"fork":false,"pushed_at":"2015-06-13T17:40:14.000Z","size":128,"stargazers_count":7,"open_issues_count":0,"forks_count":5,"subscribers_count":56,"default_branch":"master","last_synced_at":"2025-03-27T13:45:11.526Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/WebDevStudios.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":"2015-06-12T16:23:59.000Z","updated_at":"2020-07-31T23:45:38.000Z","dependencies_parsed_at":"2022-09-13T17:02:47.246Z","dependency_job_id":null,"html_url":"https://github.com/WebDevStudios/WDS-Image-Grabber","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2FWDS-Image-Grabber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2FWDS-Image-Grabber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2FWDS-Image-Grabber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2FWDS-Image-Grabber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebDevStudios","download_url":"https://codeload.github.com/WebDevStudios/WDS-Image-Grabber/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248795432,"owners_count":21162773,"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":[],"created_at":"2024-11-27T14:27:52.816Z","updated_at":"2025-04-13T23:26:18.591Z","avatar_url":"https://github.com/WebDevStudios.png","language":"PHP","readme":"# WDS Image Grabber #\n**Version:** 0.1.0   \n**Contributors:** [George Mamadashvili](https://profiles.wordpress.org/Mamaduka/), [Jay Wood](https://profiles.wordpress.org/phyrax/)    \n**Description:** Class to grab images from the body of a website.   \n**Author:** [WebDevStudios](http://webdevstudios.com)   \n**Author URI:** http://webdevstudios.com/   \n**Requires at least:** 3.6.0   \n**Tested up to:**      4.2.2   \n**Stable tag:**        0.1.0   \n**License:**           GPLv2   \n**License URI:**       http://www.gnu.org/licenses/gpl-2.0.html   \n\n## Description ##\n\nA PHP class to get a list of image URLs from a remote address and return them in an array.  Works in conjunction with\n[CMB2 Remote Image Select Field](https://github.com/WebDevStudios/CMB2-Remote-Image-Select-Field) to provide users a facebook-style image selector for post-meta data.\n\nThe script looks for `og:image` tags first, then looks for all `\u003cimg\u003e` tags within the content of the entire site.  Additionally it now provides a few extra checks to ensure\nthat the image should in-fact be pulled into the list, the rules are as follows:\n\n1. If the image has no height/width element, it will not be pulled\n1. If height or width are less than 70px, it will not be pulled\n1. If image is relative such as `src=\"/relative/path.jpg\"` it will not be pulled\n\nThis can be changed, or expanded upon by editing the `WDS_Image_Grabber::img_tags()` method.\n\n## Usage Example ##\n```php\n$url = 'http://www.amazon.com//Sales-Grocery/b?ie=UTF8\u0026node=52129011\u0026ref_=amb_link_353229922_2';   \n$grabber = new WDS_Image_Grabber( $url );   \n$images = $grabber-\u003eget_images();   \nvar_dump( $images );   \n```\n\n## Installation ##\n\n### Manual Installation ###\n\n1. Upload the entire `/wds-image-grabber` directory to the `/wp-content/plugins/` directory.\n2. Activate CMB2 Remote Image Select through the 'Plugins' menu in WordPress.\n\n## Frequently Asked Questions ##\n\n* None as of yet\n\n## Changelog ##\n\n### 0.1.0 ###\n* First release\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevstudios%2Fwds-image-grabber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdevstudios%2Fwds-image-grabber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevstudios%2Fwds-image-grabber/lists"}