Website Image Scraper
Pricing
from $0.80 / 1,000 records scraped
Website Image Scraper
Extract all image URLs from any website — alt text, dimensions, srcset, and CSS background images. Works on both static and JavaScript-rendered pages.
Pricing
from $0.80 / 1,000 records scraped
Rating
0.0
(0)
Developer
BowTiedRaccoon
Maintained by CommunityActor stats
0
Bookmarked
29
Total users
2
Monthly active users
a day ago
Last modified
Categories
Features
Share
Scrape images from any website. Give it a URL, get back every image URL with alt text, dimensions, srcset candidates, and CSS background-image URLs. Works on both static and JavaScript-rendered pages.
What it does
Loads your URL, waits for the page to finish rendering, then pulls every image it can find — <img> tags, <picture>/<source> elements, lazy-load data-src attributes, and background-image CSS rules. Returns one record per image with the metadata that's actually useful.
Optionally follows internal links up to a configurable depth, so you can audit images across an entire section of a site rather than just one page.
Output
Each record contains:
| Field | Description |
|---|---|
image_url | Absolute URL of the image |
page_url | URL of the page where the image was found |
alt_text | Alt text (empty string if none) |
width | Width attribute value (empty string if not set in HTML) |
height | Height attribute value (empty string if not set in HTML) |
srcset | Raw srcset attribute value |
srcset_urls | Comma-separated absolute URLs parsed from srcset |
srcset_candidates | List of every srcset candidate, each an absolute URL followed by its descriptor (e.g. ... 480w) |
highest_resolution_url | Absolute URL of the largest srcset variant (the image URL itself when there is no srcset) |
loading | Loading attribute (lazy, eager, or empty string) |
source_tag | Source element: img, source, or css-background |
filename | File name from the image URL |
extension | Lowercase file extension from the image URL (jpg, png, webp, ...) |
found_in | Where it was found: img, img-srcset, img-lazy, picture-source, css-background, meta-og-image, meta-twitter-image, link-icon |
dom_context | Short DOM path of the holding element (e.g. figure > a > img.cover) |
title_text | Title attribute of the image (empty string if none) |
parent_link_url | Absolute URL of the link wrapping the image (empty string if none) |
context_text | Nearby text: the figure caption or surrounding block text, up to 200 characters |
alt_missing | true when an img or picture image has no alt text |
is_data_url | true for inline data-URI images |
scraped_at | ISO 8601 timestamp |
Input
| Parameter | Type | Default | Description |
|---|---|---|---|
url | string | — | Website URL to extract images from |
maxItems | integer | 200 | Maximum image records to return. Set to 0 for unlimited |
crawlLinks | boolean | false | Follow internal links to scrape images from multiple pages |
maxDepth | integer | 1 | Max depth for internal link crawling (1–3) |
includePathPrefixes | string list | empty | With crawling on, only follow links under these path prefixes (e.g. /collections/shoes, /products); the start URL is always visited |
waitForLazyLoad | boolean | true | Scroll each page until its images stop appearing so lazy-loaded images are captured |
minWidth | integer | 0 | Skip images known to be narrower than this (px). Images with unknown size are kept |
minHeight | integer | 0 | Skip images known to be shorter than this (px). Images with unknown size are kept |
formats | string list | empty | Only return these extensions (e.g. jpg, png, webp, svg) |
urlMustContain | string list | empty | Only return images whose URL contains one of these fragments |
urlMustNotContain | string list | empty | Drop images whose URL contains any of these fragments |
dedupe | boolean | false | Return each image URL once for the whole crawl, not once per page |
includeCssBackgrounds | boolean | true | Include CSS background-image images |
includeMetaImages | boolean | false | Include og:image and twitter:image social preview images |
includeIcons | boolean | false | Include favicons and touch icons |
onlyMissingAlt | boolean | false | Audit mode: return only img and picture images that have no alt text |
includeDataUrls | boolean | false | Include inline data-URI images up to 20 KB, flagged with is_data_url |
Usage notes
On JavaScript-rendered sites: Images loaded via lazy-loading, React, Vue, or Angular hydration are fully captured. The actor waits for the page network to idle before extracting, which catches most dynamic content.
On srcset: Every srcset variant is returned with its descriptor, and highest_resolution_url points at the largest one. Multi-resolution images are also captured as both the raw srcset string and a parsed comma-separated list of absolute URLs. The image_url field holds the primary src value.
On CSS backgrounds: Computed background-image styles are walked across all visible elements. Inline data URIs are left out unless you turn on includeDataUrls, so the output contains only linkable image URLs by default.
On depth: With crawlLinks: true and maxDepth: 1, the actor crawls the start page plus any internal pages linked from it. Each page is only visited once. Fan-out is capped at 30 new links per page to avoid runaway crawls.
Example output
{"image_url": "https://books.toscrape.com/media/cache/fe/72/fe72f0532301ec28892ae79a629a293c.jpg","page_url": "https://books.toscrape.com","alt_text": "A Light in the Attic","width": "","height": "","srcset": "","srcset_urls": "","loading": "","source_tag": "img","filename": "fe72f0532301ec28892ae79a629a293c.jpg","extension": "jpg","found_in": "img","dom_context": "article.product_pod > div.image_container > a > img.thumbnail","title_text": "","parent_link_url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html","context_text": "A Light in the Attic £51.77 In stock","is_data_url": false,"scraped_at": "2026-06-10T12:00:00.000Z"}
Questions or issues?
Use the feedback fields in the input form or reach out at actor-support@orbtop.com.