Directory / plugin

Contributor Photo Gallery

v2.6.1 · by Satyam Vishwakarma (Satya)

Showcase your WordPress.org photo contributions in fast, responsive, SEO-friendly galleries with modern card styles.

About this plugin

Contributor Photo Gallery: Display, Customize & Share Your WordPress.org Photo Contributions

Contributor Photo Gallery is the easiest way to turn your WordPress.org/photos contributions into a professional, responsive gallery.
Built for photographers, agencies, and WordPress community members, it helps you create a beautiful portfolio or add authentic visual credibility to your site, with no coding required.

Why Use Contributor Photo Gallery?

Fast & Easy: Display your WordPress.org photos with a single shortcode.
Username or ID: Enter your WordPress.org username or numeric User ID; usernames are resolved automatically.
Multiple Styles: Choose from Modern, Polaroid, Circle, and Fixed Height card designs.
Fully Customizable: Adjust borders, shadows, backgrounds, and caption colors.
Live Preview: Configure and style in the admin with instant preview updates.
SEO & Accessibility: Semantic HTML, alt attributes, and WCAG-friendly controls.
Performance-Minded: Smart caching, lazy loading, and optimized API calls.
Backwards Compatible: Supports [cp_gallery] (new) and [wpcontrib_photos] (legacy).

Perfect For:

  • Photographers: build a WordPress-powered portfolio using your contributions.
  • Agencies & Professionals: highlight team work beyond code.
  • Speakers & Community Members: add credibility for profiles and bios.
  • Bloggers & Content Creators: enrich content with authentic community photos.

Lightweight, privacy-friendly, and compatible with any WordPress theme, Contributor Photo Gallery gives you a polished way to showcase your WordPress.org photos with speed and style.

New in 2.6

  • Enter your WordPress.org username or numeric User ID in settings. Usernames are automatically resolved to the correct User ID on save and cached for performance.
  • Security hardening: direct-access protection added to internal classes.
  • PHP coding-standards fixes and improved output escaping.

Highlights from 2.5

  • Primary shortcode [cp_gallery] (legacy [wpcontrib_photos] still supported).
  • Card styles: Modern, Polaroid, Circle, Fixed Height.
  • Caption text color, borders, backgrounds, and shadows with live preview.

Special Thanks

Special thanks to snilesh for his open-source WordPress.org photo contribution, which we are proud to feature in our plugin’s identity and marketing visuals.

Shortcodes

Primary Shortcode:
[cp_gallery]

Examples:
– [cp_gallery] : uses your saved settings.
– [cp_gallery per_page="12" columns="3"]
– [cp_gallery per_page="20" columns="4" user_id="21053005"]

Legacy Shortcode:
– [wpcontrib_photos] : still supported for backward compatibility.

Attributes:
– per_page : photos per page (1-50). Example: per_page="12"
– columns : grid columns (1-6). Example: columns="3"
– user_id : override the saved contributor ID with a numeric WordPress.org User ID. Example: user_id="21053005"

Note: The settings screen accepts either a username or a numeric ID. The user_id shortcode attribute expects a numeric User ID.

Support

  • Documentation: https://github.com/askhellosatya/contributor-photo-gallery/wiki
  • Issues: https://github.com/askhellosatya/contributor-photo-gallery/issues
  • Discussions: https://github.com/askhellosatya/contributor-photo-gallery/discussions

For commercial support, contact: Satyam Vishwakarma

License

This plugin is licensed under the GPL v3. See the LICENSE for details.

Plugin tags