Skip to content

OG Picture Core

What it does

OG Picture Core keeps the photos on your WordPress site in step with Adobe Lightroom, and gives your Media Library real structure.

  • Lightroom sync. Publish photos from Lightroom to WordPress. Their title, caption, description, ALT text, keywords and collections come with them. Publish a photo again and the file on your site is replaced, so every post that uses it shows the new version.
  • Media Organizer. Sort your Media Library into folders and collections, even if you never use Lightroom.
  • Galleries without an extra plugin. Show a collection, a folder or a keyword with the standard WordPress [gallery] shortcode.
  • Keywords. Turn your Lightroom keywords into a Keywords taxonomy in the Media Library.
  • Linking tools. Link photos that were already on your site to their Lightroom originals, find duplicated links, and repair the plugin's database tables.

The sync only goes one way

Changes travel from Lightroom to WordPress. Make changes to synced folders and collections in Lightroom, not in WordPress.

Who it's for

  • Photographers, studios and agencies who manage their images in Lightroom and publish them on WordPress.
  • Anyone with a large Media Library who wants folders and collections instead of one long list.

Install and activate

  1. Buy OG Picture Core from the OG Picture Core product page.
  2. Install the plugin and activate your licence key. The steps are the same for every OG plugin: see Install and activate.
  3. To sync from Lightroom, also install the OG Picture Core plugin for Lightroom on your computer.

When it is active, you find the plugin under OG Nexus > OG Picture Core. You need to be an administrator to open its settings.

Settings: Basics

The settings screen has four tabs: Basics, Keywords, Consolidate with Lightroom and Extensions & Debug. Settings save themselves as you change them.

Features

Setting What it does
Media Organizer > Enable (Recommended) Adds Media > Organizer, where you sort your images into folders and collections.
Media Modals > Enable Media Browser (Beta) Adds the OG Picture Core media browser to the windows you use to add images while editing a post (single image or gallery block). Support is not perfect yet.
Media Library > Enable Media Browser (Not Recommended) Adds the media browser to the Media Library itself. Use the Media Organizer instead.

Your folders and collections are always available as a filter in the Media Library, whichever of these you choose.

Advanced

Setting What it does
Image Threshold > Disable Stops WordPress from scaling down very large uploads. Your photos keep the full size you exported from Lightroom.

API tokens

Setting What it does
Your Token Your personal token. The Lightroom plugin uses it to sign in as your own WordPress account. Click Regenerate to create a new one. Any app that used the old token must then be updated.
Public API > Enable Makes read-only information about your folders and collections available to external apps through the WordPress REST API.
Auth Token Appears when Public API is on. External apps use this token, or the QR code next to it, to connect. Click Generate to replace it.

You can also see and create your personal token on your WordPress profile page, under Token for OG Picture Core. Only users who can upload files get a token.

Upload and sync

Setting What it does
Meta Date > Use Capture Date WordPress normally dates a photo by its upload date. This uses the date the photo was taken instead.
Upload Folder > Use Upload Date (instead of Capture Date) Shown when Use Capture Date is on. Files then go into the year and month folder of the capture date. Tick this to keep using the upload date for the folder.
Sanitization > Disable WordPress cleans up file names (for example, it removes accents). This turns that off for synced files.
Double Processing > Avoid If Lightroom sends a file that is the same as the one already on your site, nothing is processed. Thumbnails are not regenerated and image optimisers do not run again.

Settings: Keywords

Setting What it does
Enable Keywords > Create the Keywords Taxonomy Adds a Keywords taxonomy (attachment_keyword) to your Media Library. It works like post tags.
Sync Keywords Choose the Media Library taxonomy that your Lightroom keywords are copied into. This needs Enable Keywords to be on.

The Keywords box shows the keyword tree stored by OG Picture Core, with the number of photos for each one. To delete a keyword from this tree, tick Unlock Delete first.

The Shortcodes box helps you build a gallery. Hover over a keyword and the box shows a ready-made [gallery ogplr-keyword="..."] shortcode to copy into a page.

Settings: Consolidate with Lightroom

Use this tab to link photos that were already on your site to their Lightroom originals. Pick a list:

  • Unlinked Photos: photos in WordPress with no Lightroom link. Type the Lightroom ID and click Link, or ignore the photo.
  • Duplicated Links: more than one WordPress photo is linked to the same Lightroom photo.
  • Ignored Photos: photos you chose to ignore.

Warning

Actions in Duplicated Links happen straight away, and Delete there cannot be undone.

If you link a photo here, also add it to the OG Picture Core service in Lightroom yourself.

Settings: Extensions & Debug

Actions

Button What it does
Resync with Extensions Asks your installed extensions to (re)create their copy of the folders, collections and keywords.
Reset with Extensions Asks your extensions to undo their use of that structure.
Clean DB Removes entries for media that no longer exists from the plugin's own tables.
Repair DB Checks the plugin's tables, repairs anything missing, and shows a Database Check report.

Extensions lists the extensions that are loaded. Extensions are separate add-ons that pass your Lightroom structure on to a theme or gallery plugin.

Possible problems warns you about known set-ups that can block Lightroom, such as a security firewall that stops uploads.

Debug

Setting What it does
Debug > Enable Adds an OG Picture Core Debug screen to the OG Nexus menu. For advanced users.
Catch Errors > Enable Catches errors from other plugins or your theme during a sync, so the sync does not fail.
Advanced Logs > Enable Writes an internal log file. For advanced users.

The Organizer

With Media Organizer on, open Media > Organizer.

  • The sidebar shows All Media Entries, Unassigned Entries (media in no collection), your own folders and collections, and a Lightroom section with the folders and collections that came from Lightroom.
  • Click a folder or collection to see its photos. Drag photos to move or copy them into another collection.
  • Edit a photo's Title, Description, Caption and ALT text without leaving the screen.
  • Remove photos from a collection with Remove Photo or Remove Photos. The files stay in your Media Library.
  • Rename or delete a folder or collection from its settings. Deleting a collection does not delete its photos.
  • A folder's or collection's settings also show a shortcode you can copy into a page. For a folder you can choose to unite all its collections in a single gallery, or to show each collection inside it as its own gallery.

In the Media Library list view, a collection drop-down filters the list, and an LR Sync column shows each photo's Lightroom link and last sync.

Common tasks

Sync Lightroom with your site

  1. On your WordPress profile page, copy your token from Token for OG Picture Core. Click Generate Token if there is none.
  2. In Lightroom, set up the OG Picture Core plugin with your site address and the token.
  3. Publish photos or collections from Lightroom. They appear in your Media Library and in Media > Organizer.
  1. Open Media > Organizer and open the settings of the collection. The dialog shows a ready-made shortcode with the collection's ID. Copy it.
  2. In your page, add a shortcode block and paste it. It looks like this:

    [gallery ogplr-collection="12"]
    
  3. Save the page. The gallery shows every photo in collection 12, in the collection's order.

Other attributes you can use:

Attribute Shows
ogplr-collection="12,14" Photos from one or more collections
ogplr-folder="5" Photos from every collection in folder 5
ogplr-keyword="7" Photos with keyword 7 (several IDs: photos with any of them)
ogplr-keywords-and="7,9" Only photos that have all of the listed keywords

All the usual [gallery] attributes, such as columns or size, still work. OG Gallery can use your collections directly too.

Copy Lightroom keywords into the Media Library

  1. Go to OG Nexus > OG Picture Core > Keywords.
  2. Tick Create the Keywords Taxonomy.
  3. Under Sync Keywords, choose attachment_keyword.
  4. Publish from Lightroom again. Keywords are added to each photo as it syncs.

Let an external app read your collections

  1. Go to Basics and tick Public API > Enable.
  2. Give the app the Auth Token, or scan the QR code.
  3. To cut the app off, click Generate to make a new token, or untick Public API.

FAQ and troubleshooting

Lightroom cannot connect or uploads fail. Open Extensions & Debug and read Possible problems. Security firewalls often block requests from Lightroom. Also check that your account can upload files, and that your token is correct.

"Too many failed attempts". After 20 failed sign-ins from the same address, the plugin refuses that address for 15 minutes. Check the token in Lightroom, then wait and try again.

A sync says the link cannot be confirmed. Click Repair DB in Extensions & Debug. If the Database Check still shows an error, send the message to your host.

I deleted a photo in WordPress. Its Lightroom link and collection entries are removed with it. Publish it from Lightroom again to bring it back.

Who can use the plugin? Administrators can change settings. Anyone who can upload files can use the Organizer and sync from Lightroom.

Uninstalling

Deactivating or deleting OG Picture Core does not remove your photos. They stay in your Media Library.

The plugin has no clean-up routine. Its database tables, settings and users' tokens stay in your database after you delete it. Galleries that use ogplr- shortcode attributes go back to the normal [gallery] behaviour once the plugin is gone.