Title: My WP Photos
Author: mdburnette
Published: <strong>30. november, 2023</strong>
Last modified: 14. februar, 2026

---

Søg plugins

![](https://ps.w.org/my-wp-photos/assets/banner-772x250.jpg?rev=3461493)

![](https://ps.w.org/my-wp-photos/assets/icon-256x256.png?rev=3461493)

# My WP Photos

 Af [mdburnette](https://profiles.wordpress.org/mdburnette/)

[Download](https://downloads.wordpress.org/plugin/my-wp-photos.1.0.zip)

 * [Detaljer](https://da.wordpress.org/plugins/my-wp-photos/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/my-wp-photos/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/my-wp-photos/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/my-wp-photos/#developers)

 [Support](https://wordpress.org/support/plugin/my-wp-photos/)

## Beskrivelse

My WP Photos lets you display WordPress Photo Directory images on your site using
either:
 – the `[wp_photo_directory]` shortcode, or – the **WP Photos Gallery** 
block in the block editor.

Both the shortcode and block support the same settings:
 – `username`: wordpress.
org username (required unless set as plugin default) – `count`: number of photos
to display (any positive number) – `columns`: number of columns (1-6) – `aspect`:
image aspect ratio. options: `square`, `landscape`, `portrait` – `size`: photo size
from the directory. options: `medium`, `large`, `thumbnail`, `medium_large`, `1536x1536`,`
2048x2048`, `full` – `random`: set to `true` to randomize photo selection (not only
most recent photos) – `show_caption`: set to `true` to show each image caption/content
below the image – `show_exif`: set to `true` to show camera EXIF metadata below 
each image

Example shortcode:
 [wp_photo_directory username=”mdburnette” count=”24″ columns
=”4″ aspect=”landscape” size=”large” random=”true” show_caption=”true” show_exif
=”true”]

### Default Settings

Admins can configure plugin defaults at **Settings > My WP Photos**. These defaults
are used when shortcode/block attributes are not explicitly provided.

Editors can override any default at the shortcode or block level.

### WordPress Photo Directory

This plugin uses the REST API provided by the WordPress Photo Directory to determine
the author ID from the username and load the corresponding photo list. The directory
can also be visited at https://wordpress.org/photos.

All photos are CC0 licensed. No rights are reserved, so you are free to use the 
photos anywhere, for any purpose, without the need for attribution.

Learn more at https://wordpress.org/photos/faq/

### Accessibility and Performance

 * Uses semantic list markup for gallery items.
 * Includes alt text fallbacks, lazy loading, and async image decoding.
 * Caches author lookups and photo API responses with transients.
 * Supports paginated requests so larger `count` values can exceed 100 photos.
 * Includes responsive column scaling so configured columns reduce on smaller screens.

### Internationalization

 * Includes `Text Domain` and `Domain Path` metadata.
 * Includes a translation template at `languages/my-wp-photos.pot`.

## Skærmbilleder

[⌊WP Photos Gallery block in the editor with live preview and sidebar controls for
username, photo count, columns, aspect ratio, size, random order, captions, and 
EXIF.⌉⌊WP Photos Gallery block in the editor with live preview and sidebar controls
for username, photo count, columns, aspect ratio, size, random order, captions, 
and EXIF.⌉[

WP Photos Gallery block in the editor with live preview and sidebar controls for
username, photo count, columns, aspect ratio, size, random order, captions, and 
EXIF.

[⌊Front-end gallery display with captions enabled, showing photo content under each
image.⌉⌊Front-end gallery display with captions enabled, showing photo content under
each image.⌉[

Front-end gallery display with captions enabled, showing photo content under each
image.

[⌊Front-end gallery display with EXIF metadata enabled, showing camera settings 
for each photo.⌉⌊Front-end gallery display with EXIF metadata enabled, showing camera
settings for each photo.⌉[

Front-end gallery display with EXIF metadata enabled, showing camera settings for
each photo.

[⌊Front-end gallery display with a 3-column layout and no captions/EXIF for a clean
image grid.⌉⌊Front-end gallery display with a 3-column layout and no captions/EXIF
for a clean image grid.⌉[

Front-end gallery display with a 3-column layout and no captions/EXIF for a clean
image grid.

## Installation

 1. Upload the `my-wp-photos` plugin to your site and activate it.
 2. Optional: Configure plugin-wide defaults in **Settings > My WP Photos**.
 3. Add the **WP Photos Gallery** block to a post/page and configure settings in the
    sidebar, or add the `[wp_photo_directory]` shortcode.
 4. Set a username in the block/shortcode, unless you configured a default username
    in plugin settings.

## Anmeldelser

![](https://secure.gravatar.com/avatar/9f8f099065ceffe62bc40ed22f624d99fcc084ef2b9dc9b656923fe2f0899a11?
s=60&d=retro&r=g)

### 󠀁[Fast, resonsive, and featureful](https://wordpress.org/support/topic/fast-resonsive-and-featureful/)󠁿

 [Topher](https://profiles.wordpress.org/topher1kenobe/) 15. februar, 2026

Given that this is pulling data from an enormous pool, it's surprisingly fast. I
really like that you can choose things like columns, count, size, etc. Also really
happy that it has both a block and a shortcode. Well done!

 [ Læs 1 anmeldelse ](https://wordpress.org/support/plugin/my-wp-photos/reviews/)

## Bidragsydere & udviklere

“My WP Photos” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

 *   [ mdburnette ](https://profiles.wordpress.org/mdburnette/)

“My WP Photos” er blevet oversat til 2 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/my-wp-photos/contributors)
for deres bidrag.

[Oversæt “My WP Photos” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/my-wp-photos)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/my-wp-photos/), tjek
[SVN repository](https://plugins.svn.wordpress.org/my-wp-photos/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/my-wp-photos/) via [RSS](https://plugins.trac.wordpress.org/log/my-wp-photos/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.0 (February 14, 2026)

 * Added WP Photos Gallery block for the block editor with live dynamic preview.
 * Added plugin admin settings page for default gallery values.
 * Added shortcode/block-level overrides for plugin defaults.
 * Added `columns` setting (max 6) with responsive column scaling.
 * Added `random` setting for shortcode and block.
 * Added `show_caption` setting to display image captions/content below images (
   default off).
 * Added `show_exif` setting to display camera metadata below images (default off).
 * Added support for any positive `count` value via paginated API requests.
 * Added `languages/my-wp-photos.pot` for translation readiness.
 * Improved accessibility with semantic markup and image loading attributes.
 * Added transient caching and API response validation.
 * Improved shortcode/block attribute validation and sanitization.

#### 0.0.1 (November 8, 2023)

 * Initial plugin release.

## Meta

 *  Version **1.0**
 *  Senest opdateret **8 måneder siden**
 *  Aktive installationer **Færre end 10**
 *  WordPress-version ** 5.8 eller højere **
 *  Testet op til **6.9.10**
 *  PHP-version ** 7.4 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/my-wp-photos/), [Spanish (Chile)](https://cl.wordpress.org/plugins/my-wp-photos/)
   og [Spanish (Spain)](https://es.wordpress.org/plugins/my-wp-photos/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/my-wp-photos)
 * Tags
 * [block-editor](https://da.wordpress.org/plugins/tags/block-editor/)[directory](https://da.wordpress.org/plugins/tags/directory/)
   [gallery](https://da.wordpress.org/plugins/tags/gallery/)[photography](https://da.wordpress.org/plugins/tags/photography/)
   [photos](https://da.wordpress.org/plugins/tags/photos/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/my-wp-photos/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  1 5-stjernet anmeldelse     ](https://wordpress.org/support/plugin/my-wp-photos/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/my-wp-photos/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/my-wp-photos/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/my-wp-photos/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/my-wp-photos/reviews/?filter=1)

[Din anmeldelse](https://wordpress.org/support/plugin/my-wp-photos/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/my-wp-photos/reviews/)

## Bidragsydere

 *   [ mdburnette ](https://profiles.wordpress.org/mdburnette/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/my-wp-photos/)