Posted by & filed under Blog.

I have been looking at a lot of themes for WordPress. especially one that is either easy to modify or on to make child themes with. So far I have had no luck, I am looking for a theme that does not use too much of its own style of coding and functionality but stays close enough to WordPress standards.

It would also be nice to have the code for a single post in one location so that it is easy to place elements from a post placed where you want them.


Posted by & filed under Plugins.

I tried a simple taxonomy for my photographs site,  I can now add Location and People tags, works quite well, I am  afraid it will take a long time to add all those tags to my pictures.

Oh yes, the plugin used is the simple taxonomy by yoast.


Posted by & filed under Servers.

So…. setting up nginx has a few pitfals, one thing that you need to do is that in nginx.conf  you have to specify the location of the site on the server for php, otherwise  it will think that the $_server['document_root'] is the default location that nginx was compiled with.

I don’t like the fact that I have to setup and run a separate interpreter for php and that there are a lot of small things to keep in mind and check before everything is running fine. Apache runs out of the box, a lot of software comes with .htaccess files that just work. (and I don’t have to restart apache after I make changes to  .htaccess)

I ran a test on a small (very small) site and did not see any performance improvements, maybe I should test it on another site.

So, in conclusion:  Sounds Good, Maybe Later….


Posted by & filed under Servers.

I looked into setting up nginx. This is supposed to be a faster web server than apache.
For set up and installation you better search for information (Google for nginx php-fpm and your OS).

The biggest issue is the rewrite rules used by apache and located in .htaccess files. I had tried nginx before and as I need rewrite rules for other apps too I was a little hesitant because of my earlier experiences.

The rewrite rules for nginx can be confusing, a lot of sites give different information and methods, none of them worked for me.

What worked for me in the end is the try_files, apparently this is similar to checking if a file exists and use that instead of rerouting it through the index.php, so for your css, jpgs and other php files.

So I better look into the ‘location’ and ‘try_files’ for nginx.

I have now nice looking permalinks again. I have installed the nginx Compatiblity plugin but I am not sure if I need it.

I tested all this on a small (300mb download/4Gb) Centos Virtual Machine and also on an Ubuntu system.

Another thing that got me was the permissions and users assigned to the server: php-fpm runs as  user ‘apache’, I had nginx running as user ‘nginx’, this resulted in WordPress asking for ftp settings for installing and updating plugins. I assigned the apache as the user for nginx (as that is very easy to do) and changed permissions on the WordPress installation.

Still to do is nice urls for Dokuwiki and check some other stuff. Will retest one site that ran under apache and was tested with ‘ab’ (apache benchmark).



Posted by & filed under Blog.

PhotoQ is nice to use as a blog/album to use for your digital camera, either as a public blog or a restricted one if you plan to post all your private pics.

Download the latest version, it is at the time of writing a beta  but I have had no issues yet.

Install other plugins as needed.


Play around with some config settings before you upload all your pictures, changes in configs result in reprocessing all your pictures.

I added a full-size custom size so I keep my original pictures.

I configured the theme to use the extract image ( a  200×200 max image) pointing to a lightbox link with a larger version 800×800 max).

The title (caption) links to the main article which displays a 1000×1000 max ) picture with a standard link to the full-size image (maybe lightbox can be configured to re-size to be able to fit on the screen)

I need to make the picture used for the list of pictures in the admin panel (for quick editing/tagging etc)

I added a category Highlights so you can have a showcase of your nicest pics. With a few modifications you can make those highlights the pictures that show up when people visist your site.

I used a modified tanzaku theme, after the mods (a new article) it displays pictures on the front page  with (a lightbox plugin installed) a popup window to a larger version.

Mass editing:

as pictures are added to the collection you can add tags and catagories, you can also do that later , either on individual pictures or on slected pictures when you are working through the admin panel

I am using it as an archive so I store all my images there, I don’t throw a lot of images away. If needed I hide them from view by making them private.

If the collection is spanning more that a few years a plugin that allows for archives that have years and the n months is also nice

Some Warnings:

PhotoQ cannot rotate images for you,and although images are added to the Media Libary, it does not use those images, so rotatation in the Media Library won’t help you.

So make sure that you rotate beforehand (if not allreadye done so when you upload the pictures from your camera). Also be aware that some graphic programs rotate the images when you view them but only on screen, they do not tell you if the image is properly rotated.


Posted by & filed under Plugins.

When you are using WordPress as a site with data that you don’t want everybody to see you might want to avoid public access to the site. Plugins to the rescue:

Askapache Password protect: I could not configure it so not tested.

Password Protect Plugin for WordPress : “This plugin will force all visitors to login before accessing your WordPress site. It also adds a message on the login screen explaining that login is required” (David Marcucci) So users already need to be registered.

Absolute Privacy has a lot of options, certainly worth to check out. According to the author: “Absolute Privacy turns your WordPress blog into a fully private site where you control who has access. It’s perfect for family blogs, private communities, and personal websites. You can lockdown the entire site or create a members only area, moderate new registrations, force users to enter first/last name and choose their password during sign up, and more!” His Site If I test it I will review it too.

Password Protect WordPress Visit plugin site There is a free and a premium version.  The free version allows you to have  one password. The premium version allows for more and allows for custom logos and screens. The free version does the trick for me.

If I wanted to I could replace the delivered logo with my own, and probably hack the code to get the premium options.

Absolute Privacy

Posted by & filed under Plugins.

My collection of photographs from my digital camera’s is getting quite big. I have tried flickr Gallery and a few other things but they just did not do100% of  what I wanted.

I think I can do this with WordPress by doing the following:

  1. The right theme: Tanzaku maybe.
  2. a plugin to add photographs:
  3. Read a directory
  4. Check if the pictures are already in the database.
  5. add them to the media collection in a structure based on Year/month/day reading the Exif data.
  6. create custom posts with information from the Exif data
  7. So I need a custom post with extra fields.

The custom posts should have fields for filenames, show/not show, geolocation, maybe combined with a google map.

Code to add a post automatically:


Posted by & filed under News.

It has been a while since I last looked at WordPress. And  I am pleasantly surprised how much it has improved and evolved. It looks like it is usable as a CMS.

The blog will be used to test and experiment with various settings, options, modifications and plugins.