vibol hou
This is a plugin for WordPress that allows you to display your Zenfolio photostream on your weblog. The plugin can shuffle your recent photostream and is configurable through an Options panel.
Download
ZenfolioRSS 1.01
Released: April 8th, 2012
WordPress Versions: 2.8.4 – 3.3.1+

Installation
- Upload zenfoliorss.php to the wp-content/plugins folder
- Activate the plugin through the Plugins page
- Configure your settings via the Settings > ZenfolioRSS in WordPress Admin
- Configure your widget settings via the Appearance > Widgets section in WordPress Admin
Manual Installation
Add the following code to your template file:
1 | get_ZenfolioRSS(); |
Styling
By default, ZenfolioRSS uses <div id=”zenfoliorss”> as its container. To style ZenfolioRSS, modify your theme’s style.css file and add the following CSS fragment.
1 2 | #zenfoliorss { border: 1px dotted black } #zenfoliorss img { border: 1px solid black; padding: 1px; height: 55px; width: 55px } |
The <div> container can be changed in the WordPress Admin > Appearance > Widgets section.
Changelog
04/08/2012 – v1.01
- Fixed a stray short open PHP tag that was causing 500 errors on strict servers
09/06/2011 – v1.0
- Tidied up code
- Cleaned up default settings
- Add support for HTML fragments before/after the widget and title. This is available in the Appearance > Widget configuration of WordPress.
- If you’re upgrading from a previous version and have used the get_ZenfolioRSS() function directly, you may need to update your call to get_ZenfolioRSS() to pass a configuration array. See function docs for more detail.
09/07/2009
- ZenfolioRSS v0.5 is compatible with WordPress v2.8.4
03/07/2008 – v0.5
- Fixes for thumbnail naming convention that resulted in thumbnails not showing up correctly. Thanks Brad!
03/01/2008 – v0.4
- Darrell pointed out a new problem with thumbnails growing very large on the main list. This stems from a change in the Zenfolio RSS file. Version 0.4 should correct the behavior… for now.
02/05/2008 – v0.3
- Mark kindly pointed out that one of the registration functions is conflicting with flickrRSS. That’s been corrected in v0.3!
11/05/2007 – v0.2
- Initial release v0.2.
- Resolve an issue where displayed items are less than items to be shown if the album feeds do not have enough photos and there are still additional albums available.
11/01/2007 – v0.1
- Fork from Dave Kellam’s flickrRSS.

[...] nett finde ich, daß es zum einen ein Lightroom Plugin zum direkten Upload und zum anderen ein WordPress-Plugin gibt, das den Photostream im eigenen Blog [...]
[...] Download Link: ZenfolioRSS Homepage [...]
I’d like to contribute a bit.
When I set values “before” and “after” like ” ” – they doesn’t show.
The solution was (for me) to remove stripslashes() in lines 28 and 29 (where these parameters were set).
I have never worked with plug in’s. Can I get some more detail on how to upload the files you mention.
When I double click on the zenfoliorsphp file I get an error message that maybe my printshop program is not the correct one?
Nancy Parker
I need more instructions on how to ‘plug in’ your program for a blog. Is it possible to get more help? i am lost on the first instruction. I just need some help with the upload and I think I can go from there.
Any help would be appreciated.
Has anyone else noticed that this plugin slows WordPress to a crawl after updating to WP 2.6.2? I had to deactivate it for the time being. The RSS feed from Zenfolio is running fine, so I am wondering if something changed in 2.6.2 that breaks this plugin?
@David Soranno, I recently upgraded to 2.6.2 and it seems to work fine. The image strip at the top of my pages is loaded from ZenfolioRSS.
@Nancy Parker, you can use an FTP program (Google for “FTP”) to upload the file to your web host. You will need your FTP server information from your hosting service. Once you get in, follow the instructions above to find the correct folder to upload the ZenfolioRSS files to. Good luck!
[...] on the eyes. After a few Google searches, I found an awesome Zenfolio WordPress Plugin called ZenfolioRSS by Vibol Hou. (You get to see it in action at the top.) Upon finding this plugin, I found the [...]
I just set up a WordPress blog at my domain and added the ZenfolioRss plug in. The plug in is installed, the function is there, and the code has been entered into my index.php of the current theme. But, not pictures from my zenfolio site ever load. I can see that the wordpress file is trying to get the pictures becuase there is a delay whereever I put the function call in the php code. But nothing happens. Are there any settings or rules that I should be following on the zenfolio side to get this to work? If not, how do I troublshoot the interface?
Add to your template…
What does this mean?????
Jayme, there are “template” files that WordPress uses to express your site visually. Those files need to be updated to install ZenfolioRSS.
Which template file do I add the code to?
the index.php for the theme?
vtphoto,
If you’re using the newest WP with a newer theme, you should be able to enable it through the Theme’s widget section. Go to Appearance > Widgets.
From other threads I’ve found, this seems broken by 2.8.1+ versions of WordPress. Nothing displays. It installs fine, is available and configurable within the widgets, but fails to display any images. Any thoughts? What WordPress version has this been checked against? Im running 2.8.4.
Thanks
Jay, I am using 2.8.2 at the moment and it seems to work fine. I’ll run an update on my blog this evening to see if 2.8.4 has caused any problems.
Jay, I’ve upgraded to 2.8.4 and my blog is still intact. Images on the right hand side are driven by ZenfolioRSS.
Hmmmm…any suggestions on how to debug?
Jay, can you post a link to the theme you are using? I’d like to install it and see what happens.
How can we make it display nicer please,thanks Steven
@avocabeach If you take a look at the HTML, there is a div called ‘zenfoliorss’ that you can apply a stylesheet to. Here’s the HTML fragment:
<div id=”zenfoliorss” class=”widget widget_Zenfoliorss”></div>
You can either apply a style directly to the div by id, or use the class. Example of direct id style:
<style>
#zenfoliorss img { border: 1px solid black; padding: 1px; height: 55px; width: 55px }
</style>
After Zenfolio’s update in January, this plug-in stopped working on me. This is because if you give a user-friendly gallery name, it will be returned by RSS. But you cannot retrieve images using that name.
Does anyone notice that?
Hi Gary, I tried giving one of my albums a friendly gallery name (I’m assuming this is the ‘Friendly URL’ option?) and it appears to be working just fine. Can you show me a URL where you see that it is not working?
Vibol,
Someone on the Zenfolio forums was having a problem where the CSS styling wouldn’t work. I checked his blog’s source code, and while the CSS fragment was definitely in the CSS file, there was no ID tag of ‘zenfoliorss’ in the widget that holds the thumbnail images.
I’ve suggested they use the before and after fragments to put in a span with the right ID, but I don’t know if it’s actually a bug that needs fixing in your source code.
Cheers.
You’re right. I’ve updated the instructions to wrap the Zenfolio call with the div tags needed for styling. Thanks!
Hello,
I have just open a blog with wordpress, how do I upload the php file for the plug-in? In wordpress, I can’t see any instructions with ftp address ? Can you help please…
I have begun getting errors related to Zenfolio when it is enabled and I access my site without the leading www. The error message is:
Warning: Cannot modify header information – headers already sent by (output started at /home2/aneclect/public_html/aneclecticmind/wp-content/plugins/ZenfolioRSS/zenfoliorss.php:753) in /home2/aneclect/public_html/aneclecticmind/wp-includes/pluggable.php on line 868
I’m using WordPress 2.9.2 on Bluehost. I just moved my blog there.
Any suggestions? Would sure like to get this working reliably again.
Hi,
I installed your plugin as albumcover with 9 squares.
At that time, I only had 8 galleries.
When creating a 9′th gallery, it doesn’t show up. Even after uninstalling.
Is there somewhere I can cleanup and retry?
Did you ever figure this out, as I have the same problem.
Thanks.
Michael, try the latest version of ZenfolioRSS (1.0).
Ahh, misread the original problem. Select to show more than 1 photo per album and you’ll see the rest of the boxes fill up.
Hi,
Quick question – Is it possible to display the widget in like a 3×3 grid (with 9 BIG album covers for example) with the album titles displayed?
I’m creating an area on my homepage “recent galleries” and I would like to use this plug-in.
Thanks!
Yes, that’s just a matter of styling the ZenfolioRSS HTML. I don’t have specific examples, but if you know CSS, you can achieve that easily.
Hi Vibol, thanks for taking the time to develop this and to answer our questions. I’m new to WP 3.0 and would like to know if there is a way to use ZenfolioRSS in a static page rather than a widget. I’ve activated the plugin but I can only see it through the Appearance > Widgets section. How do I use it on a page? Thanks!
If the static page loads up WordPress code before showing the page, you can copy and paste the ZenfolioRSS invocation PHP code into the page. Here’s the snippet:
<div id=”zenfoliorss”><?php get_ZenfolioRSS(); ?></div>
Thank you. Got this to work by also installing Exec-PHP plugin.
Thanks again for this plugin. I found it more useful than ZenfolioPress.
*A few suggestions. Would like to see collections included in addition to albums. *The trick of inserting on a static page should be in your documentation. *Would like to see option for opening photo link in new window/tab.
I’m still sorting my Zenfolio and my corresponding page on my blog, but I’m happy with your plugin. Thank you.
@RoamingChile, you’re very welcome. I’ll add those suggestions to the feature request list.
Where do I fond the the wp-content/plugins folder on my Mac?
Using wordpress 3.2.1 – I was unable to get any images to load. Does the plugin work with the latest version?
It works fine for me. I’m also on 3.2.1. Make sure you’re entering the Zenfolio site address correctly.
I have added the plugin to my site, and when I try to activate
I get
Parse error: syntax error, unexpected $end in …\wp-content\plugins\zenfoliorss.php on line 413
Using WP 3.2.1
That is strange. Did you upload the file using FTP? If so, can you make sure to upload it in ‘text’ format?
Is there any way to speed up the loading? I put in the widget and it’s a full 30 seconds before 10 thumbnails load. It looks odd when they pop up sporadically.
Unfortunately, I noticed even the sample on this page does it, so I’m fearful :)
Hi Kevin, these images are loaded directly from Zenfolio’s CDN image servers. They should be cached and fast, but it’s possible that the network links between you and Zenfolio are congested. When you go directly to the Zenfolio albums, do the images load slowly there too?
[...] Frage für mich als Blog Anfänger, wie krieg ich die Bilder dann in meinem Blog? Hier ist die Lösung ZenfolioRSS for WordPress | vibol.hou. [...]
this is brilliant, thank you.
i’ve even got a css glow effect with it.
Hi the plugin works fine for me but i cannot change the size of the images, i have tried to find the css in style but i cant see where i could change the sizes of the images – ie thumbnails which are size 80 wide ?
many thanks
Alex, you can set the [#zenfoliorss img] CSS style and force the image height/width to what you need.
Vibol.
This functionality in Drupal would be truly awesome . . . . Dare I ask? WordPress and Joomla are very nice, but the ability to add Drupal attributes to things would be sensational.
I might do this if I come across a Drupal project I’m working on that needs it!
Quote – Alex, you can set the [#zenfoliorss img] CSS style and force the image height/width to what you need.
Hi Vibol thanks for the prompt answer-im still confused
Im still trying to find the Exact location of the CSS you mention – there is nothing in my current css file located in my themes folder in wordpress that says ‘ zenfoliorss img ‘
Hi Vibol thanks for the prompt answer-im still confused
Im still trying to find the Exact location of the CSS you mention – there is nothing in my current css file located in my themes folder in wordpress that says ‘ zenfoliorss img ‘
Ahh, I see. The CSS code does not exist in any template, per se.
You have to add that CSS style to your theme’s style sheet.
An example that you would add to your style.css file:
Hi Vibol, and thanks for your responses,
Im not having any success inserting this anywhere that will work in my css, im currently using WP 3.2.1 and have the small zenfolio 6 image gallery showing in the right widget sidebar, inserting this css doesn’t change anything no matter where i place it in the style sheet? any ideas…
It’s possible the HTML Before/After Widget setting is empty. This is supposed to be set by default to:
Before: <div id=”zenfoliorss”>
After: </div>
This is set on the Widget config page.
Hi Vibol
Just a quick update i had installed an older version 0.5, so have upgraded to 1.0
and
Ive added the HTML in the widget sidebar,
so
In my Style css can you recommend ‘Where’ to place the code
#zenfoliorss img { height: 50px; width: 50px; }
i have tried several places and none seam to change the img sizes
Do i have to manually place the – get_ZenfolioRSS(); code in my Template file? if so do you mean the Theme template ? and if so which file – is it home.php ?
sorry to be asking so many questions but none of this is clear to me,
OK I have found the problem,
it seams that when i pasted in the code you gave above which goes into the Widget bar
Before:
After:
when i inspected this code in the website (using Firefly) – it was adding another ” at each end of the word zenfolio so the code was calling
SO
i deleted the ” marks from the HTML code and placed that in the sidebar Widget – then it worked ( i placed the img size code in my theme css file in the section for widgets sidebar and it worked too)
Its strange as i didnt know the css would add another set of ” marks but thats all it turned out to be – thanks again..