In this article I want to share a fast and easy way to get a JSON object containing the image tags from a given website.
At Dimbal Software we want to create unique software that is useful and helps small websites and blogs. To that end we created the Free Image Extractor for a given webpage.
The Image Extraction tool is a free online tool to help you generate a list of images found within a designated webpage. Use it to extract a list of images into a JSON variable, PHP array or just to print out for reference.
The tool works by requesting the content of a given webpage that you specify. The tool then parses that information to understand and build the underlying document tree. Using the document tree we can then parse out all of the included Image Elements and their associated information. In this case this is the Image src attribute, alt attribute and a thumbnail for the image. We are then able to convert that into JSON objects for easy use.