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

    1. Upload zenfoliorss.php to the wp-content/plugins folder
    2. Activate the plugin through the Plugins page
    3. Configure your settings via the Settings > ZenfolioRSS in WordPress Admin
    4. 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

 

58 Responses to ZenfolioRSS for WordPress

  1. [...] 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 [...]

  2. [...] Download Link: ZenfolioRSS Homepage [...]

  3. urix says:

    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).

  4. Nancy Parker says:

    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

  5. Nancy Parker says:

    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.

  6. 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?

  7. Vibol says:

    @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.

  8. Vibol says:

    @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!

  9. [...] 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 [...]

  10. Glenn says:

    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?

  11. Jayme says:

    Add to your template…

    What does this mean?????

    • Vibol says:

      Jayme, there are “template” files that WordPress uses to express your site visually. Those files need to be updated to install ZenfolioRSS.

  12. vtphoto says:

    Which template file do I add the code to?

    the index.php for the theme?

    • Vibol says:

      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.

  13. Jay says:

    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

  14. Jay says:

    Hmmmm…any suggestions on how to debug?

  15. How can we make it display nicer please,thanks Steven

    • Vibol says:

      @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>

  16. Gary says:

    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?

    • Vibol says:

      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?

  17. Duncan says:

    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.

  18. 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…

  19. Maria says:

    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.

  20. Berton C says:

    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?

  21. Anais G says:

    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!

  22. Maggie H says:

    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!

    • Vibol says:

      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>

      • RoamingChile says:

        Thank you. Got this to work by also installing Exec-PHP plugin.

        • RoamingChile says:

          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.

  23. Odille says:

    Where do I fond the the wp-content/plugins folder on my Mac?

  24. jeremy says:

    Using wordpress 3.2.1 – I was unable to get any images to load. Does the plugin work with the latest version?

  25. Carston says:

    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

  26. kevin says:

    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 :)

    • vibol says:

      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?

  27. [...] 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. [...]

  28. scout says:

    this is brilliant, thank you.

    i’ve even got a css glow effect with it.

  29. Alex says:

    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

  30. MikeL says:

    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.

  31. Alex says:

    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 ‘

  32. Alex says:

    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 ‘

    • vibol says:

      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:

      1
      #zenfoliorss img { height: 50px; width: 50px; }
  33. Alex says:

    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…

    • vibol says:

      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.

  34. Alex says:

    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,

  35. Alex says:

    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..

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>