This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.



photon is a plugin which allows PhpWebGallery (a photoblog) and wordpress integration.
All seems to be one, your users won’t see any difference!
Version 4.2 is tested with phpwebgallery 1.6.2


* Integration of phpwebgallery into wordpress
* Common user table
* Automatic connection to Phpwebgallery through WordPress
* Automatic integration into any wordpress theme
* Possibility to add a chosen number of random pictures into the menu
* Automatic integration of Phpwebgallery menu into wordpress menu
* Private galleries
* Easy and fast posting of pictures from your gallery
* And all the nice features of phpwebgallery

Demo website

it’s here:


  1. First, you will need a working phpwebgallery installation.
    If you don’t have one, go here: and download it!

  2. As well, you will need a working wordpress installation! Go here: and download it!
    WARNING! Phpwebgallery and WordPress HAS TO BE ON THE SAME DATABASE!!!

  3. Upload photon.php and photon folder in plugins folder of WordPress, usually wp-content/plugins/

  4. Upload the file phpwebgallery/include/ in the zip in the include folder of phpwebgallery.
    You don’t have to edit it except if your wordpress user database is not “wp_users” (which is the default).

  5. Upload the folder phpwebgallery/template/photon into phpwebgallery template folder.
    Then activate it in phpwebgallery administration Menu for default display AND for all the users

  6. Activate photon plugin in wordpress admin section

  7. Go to photon option menu.

  8. Fill in the fields. If photon can’t find phpwebgallery, it will tell you.

  9. Photon allows to share a common base of users between phpwebgallery and wordpress.
    To do so, it uses wordpress database as a reference. It is therefore necessary to import phpwebgallery users into wordpress.
    But we are going to make it for you!
    First, click on “Clear old datas of phpwebgallery users”. This will suppress old and unused data from users in phpwebgallery.
    This is necessary to have a healthy start..
    Then click on “Import users”. Photon then import all the users from phpwebgallery and create it into wordpress.
    Please note that you will have to redo all the possible associations to privates galleries (if you had some).

  10. That’s all! it should work now. If it doesn’t, please double-check every steps! It is possible that you experience some problems with
    some themes of wordpress (for the menu integration). I tried to be as compatible as possible but the number of themes is huge and they
    don’t all follow wordpress standard rules. If you experience problem, you should be able to correct it using the tags options in photon
    options menu.


Photon doesn’t work under EasyPHP?

Photon require cURL, a php library which is installed on most server. However it is not on EasyPHP. To make it works, it is hovewer
very easy. Just click on EasyPHP menu->Configuration->Extensions and click on php_curl.

My pictures with a higher resolution overflow the frame of my theme. Can I resize them automatically?

Yes, to do that, just go into phpwebgallery admin menu and give a maximum width in “default display” (for default and for the users
parameters). Choose a width that suits your theme and them do a database maintenance and synchronize additionnal informations on your pictures
to update the width value.

I have drop-down categories, it doesnít seem to include the menu into my theme?

Sorry, I did my best but, for now, photon canít work with drop down category list. You will have to change your theme.

It doesn’t work!

Please search my forum ( first and try to find your solution in the already answeared questions.

Contributors & Developers

“photon” is open source software. The following people have contributed to this plugin.


Translate “photon” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.