The Embed Pwigo plugin adds support for embedding photos from whitelisted Piwigo websites.
The Embed Piwigo plugin adds support for embedding photos from whitelisted Piwigo websites.
This means that you can add the URL (a.k.a. ‘web address’) of a photo in a Piwigo site to a WordPress post or page, and a medium-sized, centered image will be inserted in its place.
The standard WordPress captioning system will be used (as for the Caption Shortcode), with the photo’s title, date, and description added if they’re available for a given image.
For example, if you have https://piwigo.org/demo
in your Piwigo site URLs list, and add the following URL on its own line in a post or page on your blog:
https://piwigo.org/demo/picture.php?/1382/category/111
then a photo of a mountain in Kerzers will be inserted, with the caption “Colline de Chiètres (May 6, 2016)”. The date format will match whatever your WordPress installation is configured to use.
Install this plugin in the normal way.
Then go to the “Settings”
“Writing” page in the WordPress admin area, and list your Piwigo site URLs in the new “Piwigo site URLs” field.Note that trailing slashes on the URLs do not matter, and can be added or not as you prefer.
Install this plugin in the normal way.
Then go to the “Settings”
“Writing” page in the WordPress admin area, and list your Piwigo site URLs in the new “Piwigo site URLs” field.Note that trailing slashes on the URLs do not matter, and can be added or not as you prefer.
A single option is added, called embed-piwigo-urls
, and no modifications are made to the database structure.