Reflection
Download Reflection 1.0 (86 downloads)
Reflection is a simple, clean and elegant theme for running your photoblog using WordPress that is currently in use on my photoblog. Due to popular demand, you can now download it and use it on your own YAPB-enabled photoblog!
Installation
Before you begin, make sure that:
- The Yet Another Photoblog plugin is installed and works properly. Reflection will not work without it!
- All of your posts contain images. If this is not the case you will get strange errors and things will break.
Then, follow these simple instructions:
- Unzip the downloaded file and upload it to your WordPress themes directory.
- Select the theme in the Presentation tab of the admin console.
After installation, you might want to customize a bit, and that’s what the following sections outline briefly.
Changing the Copyright
This is something you should do straight away. In the footer.php file, you can change the copyright declaration to whatever name you want. Just go in there and edit Your Name to your actual name.
Customizing the Link Bar
I didn’t find a satisfactory way of displaying the links bar correctly using WordPress so it’s all done manually. To edit the links at the top of the page, edit the header.php file. The link bar is at the bottom of this file.
Creating a Mosaic Page
Reflection includes a template for you to create a mosaic page, which is a nice way of showing your visitors your archive of photos and a bit more interesting than just a list of the posts. Here’s how to create it:
- In your administration console, create a new page.
- Make sure the title is Mosaic otherwise the JavaScript will not work correctly (to be fixed in WordPress 2.5). The page slug can be whatever you want.
- Any content you add to the page is automatically shown at the top, above the mosaic.
- Save and check to make sure it works.
Depending on the speed and processing power of your webserver, the first time you load the mosaic it may take a while to generate the thumbnails.
To-do
- Make it work in IE6.
- Easier customization for users so you don’t have to edit files.
Acknowledgments
Many thanks go to the following people:
- Johannes for his excellent photoblog plugin.
- Christophe Beyls for the code that allows efficient reflection drawing using JavaScript.












