PHPackages                             waughj/wp-upload-picture - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. waughj/wp-upload-picture

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

waughj/wp-upload-picture
========================

Class for autogenerating picture tag HTML for WordPress media image with just the ID.

v0.5.3(6y ago)01142AGPL-3.0-or-laterPHPPHP &gt;=7.0

Since May 13Pushed 6y agoCompare

[ Source](https://github.com/waughjai/wp-upload-picture)[ Packagist](https://packagist.org/packages/waughj/wp-upload-picture)[ RSS](/packages/waughj-wp-upload-picture/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (15)Used By (2)

WP Upload Picture
=================

[](#wp-upload-picture)

Class for autogenerating picture tag HTML for WordPress media image with just the ID. Works just like WPUploadImage, but without the need for giving a $sizes string ( since the whole point o’ a picture tag is to be responsive ) &amp; creates an HTMLPicture object ’stead o’ just an HTMLImage object.

Error handling works just as it does for WPUploadImage. Look up its documentation for mo’ information.

Changelog
---------

[](#changelog)

### 0.5.0

[](#050)

- Implement WPUploadImage's WPMissingMediaIDException Error Handling

### 0.4.0

[](#040)

- Update Error Handling

### 0.3.0

[](#030)

- Add Ability to Easily Cancel Showing Versioning

### 0.2.0

[](#020)

- Make Compatible with New HTMLPicture Interface

### 0.1.0

[](#010)

- Initial Release

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

14

Last Release

2530d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/371f8a877b768ffd61b3dd2ce379630dd1fd685c3009dce955971d247ccc9521?d=identicon)[waughj](/maintainers/waughj)

---

Top Contributors

[![jjwmezun](https://avatars.githubusercontent.com/u/24711797?v=4)](https://github.com/jjwmezun "jjwmezun (1 commits)")

---

Tags

wordpresspicture tagmedia image

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/waughj-wp-upload-picture/health.svg)

```
[![Health](https://phpackages.com/badges/waughj-wp-upload-picture/health.svg)](https://phpackages.com/packages/waughj-wp-upload-picture)
```

###  Alternatives

[tgmpa/tgm-plugin-activation

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins).

1.8k222.5k13](/packages/tgmpa-tgm-plugin-activation)[aristath/kirki

Extending the WordPress customizer

1.3k73.0k4](/packages/aristath-kirki)[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
