# alexanderdickson/waitForImages

A jQuery plugin that lets you attach callbacks to useful image loading events.

Repository: https://github.com/alexanderdickson/waitForImages
Canonical: https://ross.abutalabs.com/products/waitforimages
Homepage: http://alexanderdickson.com
Language: JavaScript
License: MIT
License Family: permissive
Topics: jquery-plugin
Last push: 2022-05-30T09:26:01+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5687, "days_push": 1556, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1287, forks 182 (observed 2026-08-28T04:04:14.965659+00:00)

## What it is
waitForImages is a jQuery plugin that attaches callbacks to image loading events for descendant images, including CSS background images and srcset attributes. It supports both callback and promise-based APIs to detect when all images have loaded.

## Use cases
- run code after all images on a page have loaded
- fix incorrect element dimensions in WebKit before images load
- track per-image loading progress with callbacks
- wait for CSS background images to finish loading
- trigger animations once images are ready

## When to choose
- you maintain a legacy jQuery codebase needing image load callbacks
- you need to handle background-image and srcset loading detection
- you want promise-based image loading in jQuery

## When to avoid
- you are building a modern app without jQuery
- you need lazy loading or image optimization rather than load events
- you need framework-native image handling in React or Vue

## Facets
- artifact type: plugin
- maturity: maintenance
- function: image-processing, middleware
- domain: web-development, frontend
- platform: browser
- tags: jquery-plugin, image-loading, callbacks, promise-api, nodejs

## Member repositories
- alexanderdickson/waitForImages (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:14.965659+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:55:50.846753+00:00, confidence not recorded.
  - readme: https://github.com/alexanderdickson/waitForImages (fetched 2026-08-28T04:04:14.965659+00:00, sha 8fddef96857f)
  - homepage: http://alexanderdickson.com (fetched 2026-08-29T12:12:12.045745+00:00, sha bdeff3a3f6d3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
