Theme Updated - 2nd October, 2010 (Reflection-Mod 1.2.1)
Reflection-Mod v 1.2.1 Photoblog Theme for WordPress : Demo
Reflection-Mod Logo for Header (Photoshop PSD File)
Reflection by David Moxey is a beautiful WordPress theme for photoblogs which utilizes Johannes Jarolim's excellent wordpress plugin, Yet Another PhotoBlog Plugin (YAPB). Reflection-Mod is my modification to the original Reflection theme to enable Category and Tag functionality and a host of other enhancements both in appearance and functionality. These include a number of slick Javascript slider animations that help unclutter the look of the site while still having all the relevant information/links easily accessible. I have listed the features of this theme below. For a detailed description of all the changes made to my theme since it's original release, please check the Reflection-Mod Changelog. The best way to see the differences is to visit my Reflection-Mod Photoblog for a Demo. Also, be sure to check out my new theme - Refractal. This theme is meant to compliment Reflection-Mod as a similar looking theme for your regular blogging purposes.
If you'd like to see a good example of Reflection-Mod integrated with Refractal to form a complete blog+photoblog, check out Markus Hellmold's new site featuring a tight integration between both themes:
Xtropolis (WARNING: Some photographs have adult content, so it isn't a work safe site)
Changes in Latest Reflection-Mod (1.2.1) (October 2nd, 2010)
- PHP 5.3 compatible: Thanks to Qlawy for a modified version of reflection-mod that got rid of some unsupported code. This should fix issues people were having with reflection-mod spitting out some weird code.
- Better SEO support with title and alt tags for improved SERPS - Thanks to Harry on the forums
Changes in Reflection-Mod 1.2 (January 31, 2010)
- Lightbox (SlimBox) effects can be enabled for Category/Tag archive galleries: New in version 1.2 is an option in the admin panel to enable a lightbox effect for quickly browsing through images in your category/tag archives.

- Disable/Enable automatic display of Shot Info (Post Text) with Photoblog Image: Admin panel option to enable or disable the automatic display of your Shot Info/Post text along with the photoblog image. Gives you this option depending on whether the image is of utmost importance or whether you prefer to display both the text and image as a single combined entity.
- Enable/Disable EXIF link in Photoblog
- Latest Theme Version Box in Admin Panel: The theme admin panel now displays the latest available version of Reflection-Mod with a link to the download page. Now you will always know if you have the latest version of the theme without having to actively check my site.
Features
- Implemented a multi-level CSS drop down menu: capable of displaying multiple levels of pages in the navbar.

- Improved compatibility with older versions of PHP: Introduced an option in the Admin panel to turn of AJAX browsing of images which should make the theme compatible with practically all webhosts and PHP versions. Also includes JSON encoding for better PHP compatibility
- Ability to change image quality: Implemented an admin menu option enabling the user to specify the image quality of images. Higher quality images will take longer to download. Can be optimized for a given webhost's speed/performance.
- Support for a lower navbar: Make a separate unordered list in header.php with an id of "navbar2" to create a second set of hard coded links in the lower row of the navbar. Can be useful for integrating the photoblog with a regular text-blog running the Refractal theme.

- Support for Category and Tag listings. When browsing images in a category, Prev/Next image links allow you to browse single images within the same category. I think this is a key feature missing in almost all WordPress photoblog themes (Even Pixelpost). Note: You need fancy permalinks enabled in WordPress for this to work. If you have the default permalink structure, in-category browsing will not work.
- Widget ready sidebar (can be disabled): While I prefer to have a completely uncluttered look, I have enabled it to show how it looks. You can use any widget you like.
- Random images hyperlink now displays a slick slider that pops down with 7 thumbnails of random images from your archive. This allows the user to select an interesting image out of an assortment of random images.

- Neat slider animations (Javascript - MooTools 1.11) for the Category and Tags listings, Random image slider as well as dynamically loaded comments.
- AJAX effects are persistent throughout the browsing process. In the original theme, clicking on Archives/Comments, etc would break the AJAX browsing mode and would switch to regular page loading.
- Robust Admin Menu with tons of options! Now you can control a host of options from the Admin menu such as Copyright Information, enabling/disabling tags, categories, sidebar, reflection-effect, header page listings, etc. This means you shouldn't have to meddle with the actual theme code to get the look you desire.
- Downloadable Photoshop Template for creating customized header logo for the theme.
- MOST IMPORTANTLY: A brand new, matching text-blog theme - Refractal - that can be used on your website for a separate WP installation for the regular Blog component of your site. The two themes, Reflection-Mod and Refractal look and feel the same so it allows you to integrate your regular blog and your photoblog under one common umbrella!
Installation
Before you install this theme, please make sure that:
- You have installed the Yet-Another-PhotoBlog plugin correctly and that it is working. Follow the instructions on the plugin webpage to install the plugin properly.
- Once YAPB is installed, go to the YAPB options section in the Administration section and make sure to disable all the automatic image insertion options for the plugin. If you fail to do so, YAPB will conflict with Reflection-Mod and things will behave very strangely.
- Like Reflection, this theme requires every post to contain a YAPB image. If you wish to have your own content (without an image) add it in pages and not posts.
Once you have done the above:
- Download Reflection-Mod 1.2 Photoblog theme for WordPress and unzip the contents of the file.
- You should now have a directory titled 'reflectionmod'. Copy this directory and all its contents into the wp-content/themes/ folder of your WordPress install.
- Once all the files have copied over, select Reflection-Mod from the Themes panel in the Administration section and activate it.
Customization
Creating your own Reflection-Mod Logo for the Header
This is one of the first things you probably want to change. (I presume that having your own photoblog under my name is not a very appealing option =) ). To make this process simpler for you, I've gone ahead and uploaded a Photoshop template for the logo. Download the Photoshop Template for the Reflection-Mod header and open it in Photoshop. The Layers in the file are labeled and you should be able to easily edit the text in the Title layer. Copy paste the same text into the reflection text layer to get your final logo. Of course, you can go crazy and make a much more creative logo if you feel like it :).
For those who don't have access to photoshop, it won't be as easy, but creating a logo is still simple. Just open up the logo.png file in /reflectionmod/images/ in GIMP (Opensource software equivalent of Photoshop). Use the eyedropper tool to pick the color of the 1pixel gray line, and create a new 1px line of that color on a new layer and position it over the line in the original logo.png image. Then follow a tutorial such as this one to create the reflection effect on your text. Finally save your image as logo.png and overwrite the default file in the /reflectionmod/images/ folder.
Creating Archive/Mosaic Page
If you wish to have a link in your Navbar titled Archive or Mosaic, which contains an array of thumbnails of images from all your posts (grouped by year), then create a new page and make sure to select the Mosaic Page Template instead of the Default template. Unless you want to have some text preceeding the thumbnail archive display, you can leave the body of the page empty. If you have the "Disable AutoPage Listing in NavBar?" option unchecked, the Navbar will automatically update to show a link to the Archive/Mosaic page. If you do choose to disable the AutoPage listing option, then you will need to go into header.php and manually enter the URL to the Archive page as an "a href" link in the Navbar unordered list.
Creating an About Page
Create a new page titled "About", but this time use the "Default Template" for the page. Enter whatever text you want (feel free to embed images too) and then save the page. As mentioned above, it will automatically show up in the Navbar if Autopage listing isn't disabled.
Other Theme Customizations
Most of the other admin options are fairly self explanatory. The first few options deal with the Copyright information that is listed in the footer.
The portrait image width and landscape image width refers to the maximum width the images should have when displayed. Keep in mind that the value in these boxes should not exceed 800 as it will break the theme. (The theme is coded to have a maximum image container size of 800 pixels). The default value is 800 for landscape images and 450 for portrait images.
Sidebar
By default, the Sidebar is disabled. When you first enable it, it will say something like "No Widget". You will need to add elements to the sidebar using the Widgets option in the dashboard. I am currently using the Subscribe Sidebar and the Yet-Another-Photo-Blog sidebar widget plugin on my photoblog. The latter is setup to display 5 recent thumbnails (100px width).
Permalink Structure for your PhotoBlog
I would strongly recommend that you use the fancy permalink structures for your photoblog. This will also enable in-category browsing of posts for this theme. The URL for your posts will look cleaner and the names are far more intuitive than a URL that looks like www.yourdomain.com/?p=XX . My favourite permalink structure for photoblogs is: /%category%/%postname%/ . Check the image below to see what your permalink settings should look like.

EXIF Data
To customize the Exif data that is displayed in the overlay panel, select Exif filtering in the YAPB options and select the different field values that you would like to have displayed.
Final Comments
Reflection 1.2 along with Refractal is a new update, and one that I wasn't planning on ever doing, but made possible thanks to feedback from users and encouragement from a good friend (we have come to become friends due to this theme) Markus. So if you like the theme, let me know! I don't expect everyone to donate but it really does help a lot to know that there are folks out there who find this theme useful and enjoying it :). Also if there are any features you'd love to see, let me know. I can't guarantee anything, but you never know!
Acknowledgements:
- The biggest thanks has to go to Dave Moxey for his Reflection theme. It has been a lot of fun learning PHP, basic Javascript, CSS and WordPress while I tried to modify his theme and I owe it all to him. I would never have started on this if I hadn't fallen in love with the original Reflection 1.0 theme to begin with. Once I started setting it up I got more into it and decided to mod it to my liking resulting in this theme.
- Johannes also deserves a huge thanks for his amazing Yet-Another-Photo-Blog Plugin for WordPress.
- A big thanks to www.w3schools.com and all the other great sites on the net with some amazing tutorials that made modding the theme possible for a PHP/JS/WP newbie such as myself.
Thnaks for this great theme
I have the same problem. WordPress 2.8.5 and YAPB 1.9.22
Can anyone help me?
Sorry for my english π
Marc
Sorry guys, but it is probably some issue at your end with the host or php version. It definitely isn’t a WP 2.8.5 issue since there are others who are using it without any trouble with the latest WP release:
http://kaveh.ymer.org/
http://www.themattefinish.com/phlog
I’m sorry but I don’t really have any idea what could be wrong with your installations and why it isn’t working. Perhaps you should trouble shoot with other YAPB enabled blog themes and see if any work. If none work, it is probably an issue with the way YAPB is setup. In that case, I’d advise trying to use the YAPB forums to get some help.
Sorry I can’t be of more help. Let me know if you manage to fix the issue so I can add a note for others facing similar issues. Thanks, and good luck!
Dear Sudeep, One of my friends who I was helping to build a photoblog just liked your theme that I was using on my own photoblog so much that just asked me to make an identical photoblog like that and use the same theme for the photoblog… So I created a photoblog like that for my friend at this address: http://www.artapic.com
so your amazing and beautiful theme is being used with the latest WP installation at the address above… sadly I was asked kindly by my friend not to use the same theme for my photoblog, so that the newly built photoblog gains a uniqueness among all of the photoblogs in my country, which I think no one is currently using this theme with any WP based photoblog here… so I had to look for something new… I changed mine but will change back any time my friend feels a little bit more relaxed about the photoblog’s uniqueness… π π
I thank you again so much for your wonderful work with releasing this theme and making it available for everyone to have the chance of using it…
hi Sudeep, thanks for the mode. it works great except that my archive only shows one thumbnail and the rest of the thumbnails become much smaller dots. please help. thank you
sam
Hi Sudeep,
Absolutely fantastic theme. Setting it up was a breeze! I have noticed two minor niggly bits that I was hoping you could help me with if possible:
1. On images that are not that wide, the title of the image will overlap the links on the top right of the image. You even have this problem on your own blog in portrait images, for example:
http://www.sudeepmandal.com/photography/birds/baby-pigeon-chicks/
You can see the date overlapping the “Prev/Next”.
Perhaps there is a way to stick a line break in-between these so they won’t overlap? Or would that look too strange?
2. When I click “Prev/Next” when viewing images, I notice the reflection stays as the reflection of the previous image. Is there a fix for this, or should I just turn reflections off?
Many thanks! π WONDERFUL theme. π
Hello,
Thanks for the beautiful mod! You added everything I was looking for in the original Reflection theme. π
Everything looks great, but Prev and Next are not working. It doesn’t work either on the images themselves, nor on the links above the images. It just gets stuck loading with the white screen and grey circle. The feature works on the original Reflection theme, just not on Reflection-Mod.
Any tips on what I can look at?
Thanks so much!
Hi Sudeep
Original reflections theme is working fine on my site but when i activate this one, it gives me the following error.
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /public_html/subzero/wp-content/themes/reflectionmod/index.php on line 68
Can you please help?
Hi bileu,
Unfortunately this is most likely because your host does not support PHP5. You can try what is listed in this comment:
http://www.sudeepmandal.com/projects/reflection-mod-photoblog-theme-wordpress/#comment-1871
See if that fixes it. Otherwise I’m sorry but I don’t know of any easy way to fix this issue.
Cheers
great great great theme, thank you a million!
Is there any reason why my site works with Reflection (1.0 and 1.1) but not your theme? When I load your theme, I get the header and sidebar, but no body or footer.
I want to check and see if anyone has done this. I see it on your site I want to add description on my photo (info) but I do not want to show the picture again what’s the best way to make this happen? I do not want to show the embedded photo basically. Thanks.
Remo
Well I found it π it’s teh plugin that does that so I unchecked it and now it’s great.
Ciao
Is there a way to show more than 10 thumbnails when I select a category to view?
Andrew, if you check this article under “Changes in Reflection Mod 1.0.1” you should have your answer :). It’s a WP setting thing that you can change, not theme related.
Cheers
Hi, Great theme! Thanks a lot
Wonderful theme.
Quick question, though — is it possible to increase the image size from 800 to, say, 900 or 1023? Or possibly use lightbox to display the original photo?
Hi Robert,
Unfortunately the theme isn’t setup to display images wider than 800 pixels. Also, it won’t be easy to integrate it with any javascript base image display routines. However, if that is what you are after then you might be better served with some regular theme with YAPB installed. It is easy enough to install a lightbox plugin for the image display in that situation.
Cheers
Thanks for the very nice theme! But I can’t find how to activate those Ajax popups when browsing images in Categories or Tags (like in your demo page)…
Hi Kitox,
Sorry about the confusion. Actually the AJAX popups (Lightbox) is a new feature in Version 1.2 that I should be releasing any day now :). So stay tuned and I’ll have it uploaded shortly (definitely within the next week).
Cheers,
Sudeep
Thank you again and greetings from Lithuania!
Hi Sudeep,
I must say that this is the best ever photoblog theme I have come across. I just love it. I had been searching the net untill I hit your site and yes I am glad. Thanks for your incredible work. Much appreciated.
However, there is an issue that I am facing with the reflection-mod theme though. Its the ‘Prev/Next’ that do not seem to work. The image space turns white and the grey loading circle turns on. The browser on the bottom left shows ‘error on page’, which is:
——————————————————————-
Message: Expected ‘;’
Line: 122
Char: 3
Code: 0
URI: http://nairarun.com/wp-content/themes/reflectionmod/js/blog.js
——————————————————————-
I had done the following:
– Installed WordPress and databases.
– Loaded YAP plugin, activation and unchecked auto image upload options.
– Installed Reflection-mod theme and activation.
– Created Archive(mosaic) and About pages.
– Added posts.
Kindly help me troublshoot this error. Please have a look at my site and do let me know where I might be going wrong. Donno if I should poke my hands into blog.js π
Cheers,
Arun.
PS: Earlier, I had tried the Reflection theme which worked fine.
Newest Uploaded Pics Don’t Show as ‘Latest Images’on Homepage. How to stop this?
Hi there,
I have several contributors who have uploaded images from their computer only to find that they don’t display on the website homepage.
When I look via admin at the published posts, the newly published photo is halfway down the page, not at te top as the ‘newest post’. For example, today is 7th Feb 2010. Some newly published pics have a published date of 7th Sep 2007.
If this something to do with the EXIF data of the uploaded image?
How can I stop it doing this? I would like it to display latest pics uploaded.
Hi there,
I think you need to check the YAPB options and disable the checkbox for uploading posts with the date from the EXIF. Then it should work normally with the latest WP posts showing up as the latest image posts.
Cheers
Hello Sudeep,
I’ve installed your theme, but unfortunately i’m not able to activate it. First you should know that i’m not very skilled with php language – i’m a novice…yet π . I receive the following message:
‘mage->width > $post->image->height){ if ($post->image->width > $rm_widthland){ $im_dim = $rm_widthland; } else { $im_dim = $post->image->width; } } else { if ($post->image->width > $rm_widthport){ $im_dim = $rm_widthport; } else { $im_dim = $post->image->width; } } //$im_dim = $post->image->width > $post->image->height ? $rm_widthland : $rm_widthport; function get_thumbnail($removeamps=false) { global $post, $im_dim, $imgquality; $uri = $post->image->getThumbnailHref(array(‘w=’.$im_dim, ‘q=’.$imgquality)); return $removeamps ? str_replace(“&”, “&”, $uri) : $uri; } function get_exif() { global $post; $exif_info = yapb_get_exif(); if (empty($exif_info)) return “No EXIF information available.”; $output = ‘
* ‘; foreach ($exif_info as $k => $v) $output .= ”.$k.”.$v.’
‘; return $output.’
‘; } function yapb_get_exif_filter($exif) { /* Any exif filtering gets done in this function. Modify if you want it. */ return $exif; } function init_imagesize() { global $post, $im_dim, $imgquality, $rm_imgquality, $rm_widthport, $rm_widthland; $imgquality=$rm_imgquality; if ($post->image->width > $post->image->height){ if ($post->image->width > $rm_widthland){ $im_dim = $rm_widthland; } else { $im_dim = $post->image->width; } } else { if ($post->image->width > $rm_widthport){ $im_dim = $rm_widthport; } else { $im_dim = $post->image->width; } } } // Uncomment the following line to enable EXIF filtering. //add_filter(‘yapb_get_exif’, ‘yapb_get_exif_filter’); ?>
Parse error: parse error in F:\wamp\www\wordpress\wp-content\themes\reflectionmod\header.php on line 131′.
Where is my mistake??
Thank you in advance for your answer and patience.
cheers
catalin
Hi Catalin,
Out of curiosity, did you install the “Yet another Photoblog” plug-in before installing and activating the theme? In addition, did you make sure that all posts have a YAPB image uploaded along with them? If not, the theme will probably give you all sorts of errors as it is expecting the presence of both the plug-in as well as a YAPB image associated with all posts.
Cheers,
Sudeep
Hi Sudeep,
I followed yout step by step instalation, first i installed YAPB then the theme. After that I write a single post, with YAPB image associate and stiil get that ugly message. I’m gonna try to reinstall all again to see if there is any change.
Thank you for your quick answer.
Cheers
Catalin
Hi Catalin,
Sorry, I’m not really sure why you are having this issue. The only other thing I can think of is that your host might be running an old version of PHP that could be causing the issue. I hope the re-install helps you fix the issue.
Cheers,
Sudeep
Hello
Thank you for these Template, I use both Reflection-Mod and also our Refractal Theme
You can find it here.
http://www.shutter-speed.ch/photoblog/
http://www.shutter-speed.ch/wordpress/
Mirco
Hi, impressed with your demo photo blog of your reflection-mod theme, I just installed it for my site and it doesn’t seem to work. I just see a blank page in the preview (as well as when I active and open the site). I’m able to properly use the original reflection theme, but not the mod you have created. Please let me know how to fix this issue. My PHP version is < 5.0, can that be a reason for not working? or is reflection theme conflicting with the mod? Please help me here.
Hi Sudeep,
Like everybody else here I really like your theme. Simply the best i’ve found so far. I just have one problem (one that a few others seem to also have): I only get blank page, no matter what I try (reinstalling YAPB before Reflection-Mod for example).
Any advice on how to solve this issue?
Cheers,
Pierre-A.
Hi Sudeep,
Love your theme: defintitely the best one I’ve found!
But I have a major problem: I can only display a blank page. Althouhg Reflection works on my site, Reflection-Mod only display a blank page, with 4 lines of code in the source code. Reinstalled both YAPB and the theme but didn’t help. Should I reinstall WP? Any clue why only a blank shows?
Thanks and cheers!
Pierre-A.
I’m not sure why that is happening Pierre. It doesn’t seem like normal behaviour. Are you sure that all posts have one YAPB image attached and that there aren’t any other non YAPB image posts?
I’d suggest going through all your posts to make sure they all have a single YAPB image. Also reinstall YAPB and make sure that the settings are as described in the installation section.
I’ve never seen this error and it might be more related to your WP installation. Why don’t you try making a demo site…ie an independent fresh installation,w here you can put a couple of new posts with YAPB images and then try the theme. If that works, then you know for sure that it is your WP installation.
Cheers
PS – For future questions please ask them in the forums. Thanks!
Hi Sudeep – I really like this theme so far, and I am currently running the Grain theme, but I had to mod that heavily to get a uncluttered design.
I would use yours but for one thing: image size. I like to do panorama, and large, 1000 or 1100 size images, and it looks like I can’t do this in your theme.
How hard would it be to allow larger images without breaking the theme?
Best to you,
Steve
Hi Steve,
Unfortunately the theme hasn’t been built to display images larger than 800px wide. It will take quite a bit of CSS tweaks and theme code changes to allow for larger image dimensions. I’ll put that as a thing to do for the next release but unfortunately there isn’t any easy way to do this at the moment.
Btw, I like your modification of Grain. I really disliked the background and all the elements in the theme that distracted from the actual image. It looks a lot nicer the way you have it setup.
Cheers,
Sudeep
Hi Sudeep – Thank you for taking the time to respond to my Q on large images. With many displays going to a wide 16:9 format, I think demand will increase for themes that do a wide angle, or allow for (near) panorama dimension images.
My own modification of Grain was really by trial and error and is still not perfect, but I just could not find another YAPB theme that did large images very well. They all are lacking one thing or another and I am not strong enough to design it in myself.
I’ll keep an eye on your theme to see how how you proceed with it – very nice job either way!
Help, title and prev/next buttons are overlapping. What to do?
Hi Sudeep – Loving the mod- however I’m experiencing problems with the thumbnails on the mosaic and catergory pages. some images are appearing while others are small grey dots. Any ideas/soluitions?
Hi John,
It is most likely an issue with memory limitations on your webhost. Are the images you uploaded at pretty high resolution? If so, they might require too much memory to convert into thumbnails. I would try the following:
a) Upload resized images via YAPB
b) Try to increase your PHP memory limit if allowed by your webhost.
I hope that helps fix the issue.
Cheers
Hey, really great modified theme. But I was wondering, how do I keep the format of comments from the original theme where they appear at the bottom. I do not wish the photos to be pushed down below when comments increase.
Hi Cheryl,
At the moment I don’t have that built into the theme…rather it was originally built in and I stripped it out :-). I’ll try to keep it in mind for the next release but unfortunately I’m pretty swamped with work at the moment :(.
Cheers
I want to thank you for all your hard work. I have been looking for a good photo blog and I always ran into trouble of some sort. Yours just works and it is very easy to modify.
My hope is that your tip jar overflows. I am happy to do my part.
Dear Paul,
Thanks a lot for your kind words. I’m glad you are enjoying the theme. Happy photoblogging! π
Hi,
I was wondering if there was a way to change the size of the thunmbnails in the mosaic page and the random top bar.
I tried changing the value in options -> YAPB -> Automatic Image Insertion but it didn’t work. the thumbnails are still showing as 100px x 100px.
thanks so much for your help!
Great mod of the original Reflection theme. Love it, does exactly what I wanted from a photoblog. Keep up the good work!
Great theme, but a question:
I have changed the logo/header in photoshop, but how do I exchange my new logo for yours on the web site?