Skip to content
Sign in

Contributor Photo Gallery

Show your WordPress.org Photo Directory contributions as a responsive gallery, with a block, a guided setup and a live preview.

Not scanned yet WordPress plugin

Install in

No install steps yet

Follow the steps on the source page.

Contributor Photo Gallery turns the photos you’ve contributed to the WordPress.org Photo Directory into a polished, responsive gallery on your own site. Connect your account in about a minute, pick a look, and add the gallery to any page with a block or a shortcode. No code needed.

Your photos stay hosted on WordPress.org and link back to it, and the gallery picks up new photos as you publish them.

New in 3.2

  • Style each block on its own. The block sidebar now has the same styling as the settings screen: card style, background, border, shadow, captions (show or hide, color, alignment), new-tab links and lazy-loading. Anything you leave alone uses the plugin settings.

New in 3.1

  • Guided setup. Enter your WordPress.org username and the plugin finds your account, shows how many photos you have and a few of them, then helps you pick a layout and a card style.
  • A redesigned settings screen. Tabbed settings next to a live preview of your real gallery, at desktop, tablet and phone widths, with a save bar that warns about unsaved changes.
  • Caption alignment. Align photo titles left, center or right.
  • The Contributor Photo Gallery block (added in 3.0). Add your gallery from the block editor’s Media category, with a live preview and sidebar controls.

Features

  • Block and shortcode. Use the block in the block editor, or [cp_gallery] anywhere shortcodes work. The block supports wide and full alignment and margin.
  • Four card styles. Modern, Polaroid, Circle and Fixed height, in 1 to 6 columns.
  • Styling without code. Card background, border style, width and color, shadow, and caption color and alignment, all with a live preview. Set them once for every gallery, or per block.
  • Username or user ID. Enter either; usernames are resolved for you.
  • Fast pages. Photo data is cached (5 minutes to 24 hours) and images lazy-load by default.
  • Accessible and SEO-friendly. Photo titles become alt text, links are real links to each photo, and colors are yours to set for good contrast.
  • Works with any theme. Classes and CSS variables make it easy to restyle.
  • Backwards compatible. The older [wpcontrib_photos] shortcode still works, and settings carry over on update.

Who it’s for

  • Photographers showing a portfolio built from their contributions.
  • Speakers and community members adding their photos to a bio or about page.
  • Agencies and teams highlighting contributions beyond code.
  • Bloggers adding authentic WordPress.org photography to posts.

Add a gallery

Block: add Contributor Photo Gallery from the Media category. The editor shows a live preview, and the sidebar has:

  • Gallery settings: the WordPress.org user, number of photos (1 to 50) and columns (1 to 6). Leave the user empty to use your saved settings.
  • Cards: card style, background, border style, width and color, and shadow.
  • Captions: show or hide, color and alignment.
  • Links and loading: open photos in a new tab, and lazy-load images.

The Cards, Captions, and Links and loading options style this block only. Each starts on the plugin setting, and Reset to plugin settings puts a panel back. The block also supports wide and full alignment and margin, and existing shortcode blocks can be turned into it with Transform to.

Shortcode: [cp_gallery] uses your saved settings. Attributes change a single gallery:

  • per_page: photos to show, 1 to 50. Example: [cp_gallery per_page="12"]
  • columns: grid columns, 1 to 6. Example: [cp_gallery columns="3"]
  • user_id: a numeric WordPress.org user ID, to show someone else’s photos. Example: [cp_gallery user_id="21053005"]

Support

Special thanks to snilesh for the WordPress.org photo contribution featured in the plugin’s screenshots.

Written by Joobi from the project's own listing. See the source page

galleryphotographyPortfolioresponsiveshortcode
28 Nov 2026
Version 3.2.3 released. Not scanned yet.

3.2.3 – 2026-11-29

  • Fixed: Uninstalling now removes cached photos and leftover settings, including those from earlier versions and on every site of a multisite network.

3.2.2 – 2026-11-29

  • Fixed: Photo alt text is no longer cut off at 30 characters; long captions now end on a whole line with an ellipsis.
  • Improved: The gallery stylesheet loads only on pages that show a gallery.
  • Tested with WordPress 7.2.

3.2.1 – 2026-11-28

  • New: Style each gallery block on its own: card style, background, border, shadow, captions, new-tab links and lazy-loading. Anything left alone uses the plugin settings.
  • New: Redesigned settings page with a guided first-run setup, tabbed settings and a live gallery preview for desktop, tablet and phone.
  • New: Caption alignment option (left, center or right).
  • Fixed: The Lazy-load images setting is now respected; images were always lazy-loaded.
  • Fixed: The setup notice can now be dismissed for good, and WordPress.org username lookups are safer.
  • Updated: Plugin description, FAQ and screenshots for the new settings screen and per-block styling.
  • Updated: Plugin author details, photo credit and contributors list.

3.0.0 – 2026-11-28

  • New: Contributor Photo Gallery block for the block editor.
  • Fixed: The Reset button next to the background color.
  • Fixed: Custom hex background and caption colors not saving.
  • Security: Added ABSPATH guards to the API and Cache classes to block direct file access.
  • Fixed: PHP coding-standards issues flagged by Plugin Check and PHPCS.
  • Improved: Output escaping of inline styles and layout consistency in the gallery grid template.
  • Improved: Tested with WordPress 7.1.
  • Developer: Development files are left out of the plugin zip.
  • Developer: Added a Docker-based local development environment and GitHub Actions release-build workflow.

2.6.0 – 2026-06-23

  • New: Enter a WordPress.org username or a numeric contributor User ID in settings.
  • New: Usernames are automatically converted to the correct User ID on save, then cached for performance.
  • Improved: Updated field placeholder, help text, and validation for username support.

2.5.1 – 2025-09-10

  • Fixed: Review notice styling inconsistencies (spacing, alignment, and typography).
  • Fixed: Uneven photo card layouts by standardizing aspect ratios and scaling.
  • Fixed: Overlapping and stacking issues in edge cases.
  • Changed: Function prefix updated from cpg_ to cpglry_ for clarity and conflict avoidance.
  • Improved: Cross-browser and cross-device reliability.
  • Improved: Polaroid-style font for a more authentic vintage look.

2.5.0 – 2025-08-16

  • New primary shortcode [cp_gallery].
  • Legacy shortcode [wpcontrib_photos] preserved.
  • Caption text color option with live preview.
  • New gallery styles: Polaroid, Circle, Fixed Height.
  • Advanced card customization (backgrounds, borders, shadows).
  • Auto-refresh preview (removed manual refresh button).
  • Minimum WordPress version bumped to 5.8.

2.0.3 – 2025-08-07

  • Security improvements and caching refinements.

2.0.0

  • Major UI/UX overhaul, responsive grids, live preview, performance updates.

1.0.0

  • Initial release with gallery fetch from WordPress.org/photos.
29 Sep 2025Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)