I came across Derek Powazek’s superbly simplistic DePo Clean theme a couple days ago and finally got around to installing it. It needs the flickrRSS plugin to run. I do not use flickr for my photo storage–Zenfolio was my prime choice after reviewing a variety of services. Unfortunately, flickrRSS does not work with Zenfolio. I could not find an alternative so I used Dave Kellam’s flickrRSS as a model to create a plugin called ZenfolioRSS. You can see the results above.

Update [11/5/2007]: I’ve placed a download link for the plugin below. You should use the flickrRSS CSS styles to customize the look, making this a drop-in replacement for flickrRSS. To install, place the zenfoliorss.php file in the wp-content/plugins folder. You need to enable the plugin through the Plugins interface in the WordPress admin site and then configure the plugin by going to Options > ZenfolioRSS-the main option you need to include is the base URL to your Zenfolio site (e.g. http://vibolhou.com). In your theme, add “<?php get_ZenfolioRSS(); ?>” without the quotes where you want to see the pictures. If you’re replacing flickrRSS, replace the “get_flickrRSS()” text with “get_ZenfolioRSS()” in your code.

Download Link: ZenfolioRSS Homepage

 

23 Responses to A Zenfolio WordPress Plugin

  1. Kira says:

    This is probably a dumb question, but I can’t figure out where to put the code “”. I’d like photos to show up as posts on the index page. Do I need to modify the page template or the main index template or something else? And where in the page should it go? Thanks for any help you can give – your plugin was part of what made me decide to sign up with Zenfolio.

  2. Vibol says:

    Hi Kira, the code itself can go into any of the template pages. Where you decide to put it is a design choice that you’ll have to make. If you take a look at my homepage HTML source, you’ll find the location of the code encapsulated inside a DIV layer whose class name is “flickr”. The function will simply output all the code that you see inside that DIV layer.

    I haven’t thought this plugin so far as to allow it to create posts from the image RSS feeds. Could you tell me more about what it is you want to accomplish there? Perhaps it is a simple addition to make if I can understand how you’d like to use it. The current Zenfolio plugin only shows the feed somewhere on the page.

    Here’s a link to the source of the template file which contains the ZenfolioRSS plugin:

    http://vibol.hou.cc/wp-content/themes/depo-clean/index.phps

    You can use that to see how it translates into the HTML output.

    Hope this helps!

  3. Kira says:

    Ah, okay, you just put it in when you create a page or post. I thought it had to go into one of the template files.Got it. Thanks!

    What I would really like is to be able to have posts created and show up like they do directly in my RSS reader. I.e., I create a new gallery and it automatically feeds a new post into WordPress announcing it with a photo link.

    Looks like WordPress.org has some plugins listed for making posts from incoming RSS feeds, so I can just hook it up to that for a sort of photoblog. Thanks!

  4. Mark says:

    Thank you, Vibol, for this plugin!

    Perhaps consider changing the name of the fR_admin_menu function, since WP throws an error if you have your plugin and the original flickrRSS plugin both installed.

  5. Darrell says:

    Hello Vibol,

    Great plun in. I have been using it since you created it and was wondering if you have any idea why it will not post images small on my website anymore.

    It worked perfectly fine, thenone day the images got large and I tried all the diff settings and nothing works.

    Thanks,

    Darrell

  6. Vibol says:

    Darrell, It looks like Zenfolio changed their default filename to a larger format. I’ve added an additional check for that in v0.4–once you drop the zenfoliorss.php file in, your thumbnails should once again be thumbnails.

  7. John Munson says:

    Is there a way to edit the size of the images. The squares and thumbnails are too small. Is there a CSS file I can adjust? Ideally I’d love to add the title along with the album cover image. Do you know if that is feasible? Thanks for your help with this. Zenfolio seems to be gaining steam and so does WordPress.

  8. Vibol says:

    Hi John,

    You can definitely edit the display size of the images using CSS. Take a look at my CSS file at:

    http://vibol.hou.cc/wp-content/themes/depo-clean/style.css

    You’ll find in it the structure of how to define the img tag size in the set of ‘flickr’ CSS tags.

    Vibol

  9. EightWheels says:

    I cannot get this to work on my WordPress blog. I just installed WordPress 2.5, which looks like it came out after the last update of this plugin, and I’m wondering if there’s an incompatibility somewhere. Any suggestions?

  10. EightWheels says:

    Update … all of a sudden my photos do appear on my blog, so I guess it is working … kinda. If I reload the page, though, or add another post, it’s an hour or more until the photos re-appear. Am I misunderstanding the way this is supposed to work, or is this a problem with WordPress 2.5?

  11. Vibol says:

    @EightWheels

    You might have needed to clear your cache before the browser properly drew the page. OTOH, there may be a slight delay from Zenfolio’s RSS feed when adding new images. I am not certain how long this delay is, but it’s been short enough that I have not noticed.

    Vibol

  12. michael says:

    Hi.

    I have a zenfolio account.

    I have WordPress 2.5

    I have installed ZenfolioRSS and configured it in the WP Site Admin to my zenfolio address.

    Now what? It doesn’t show up anywhere. I am not a web designer, so the comments about editing templates are a bit of a mystery to me. Should I get the flickr plugin first? Will that fill in the missing stuff?

    What I’d like, is a standalone WP ‘Page’ (like the ‘About’ page) that will show the zenfolioRSS images. Is that possible?

    I already embed zenfolio images in my posts using the standard WP image tags. It would be good if there was a way of integrating this so that there is less clicking and copying of links. Have you heard of anything like that?

    Thanks, Michael

  13. Vibol says:

    @michael I honestly have not tried using it that way, but it is definitely possible. You will have to at the very least wrap your arms around how templates work in WordPress to create that additional ‘Photos’ page.

    When you go to create a Page in WordPress, it gives you the option of specifying a Page Template (Write > Page > Page Template). This allows you to specify very specific templates to use for a particular page. In your case, you want a Photos page template.

    I have created one you might be able to download and use here. It was written for my site’s theme, so it might not look right on yours:

    http://vibol.hou.cc/wp-content/themes/depo-clean/photos.phps

    Rename the file to from ‘photos.phps’ to ‘photos.php’ and place it in the correct themes folder (in my case, my theme is called ‘/wp-content/themes/depo-clean’) in your web directory.

    Once you have done this, go to the Admin section and create a new Page. Select ‘Photos’ as your page template and try going to the Page URL. For my example above, my page URL is:

    http://vibol.hou.cc/photos

    Good luck!

  14. michael says:

    Hi.

    Thanks Vibul.

    I did all that, surprisingly, no big dramas but no photos.

    When I look at the page source,:

    [code]
    Photos

    [/code]

    Don’t know if those tags will work… But anyway, no content on the page. Should there be something I type on the page, or is it ok for it to be blank in the WP editor?

    Your page is similar, also no photos.

    Thanks for your help.

    Michael

  15. michael says:

    Vibol,

    Don’t worry about it, I had the http:// missing from the zenfolioRSS setup page. It’s working. :)

    Thanks,

    Michael

  16. Ben says:

    For some reason I can’t get this plugin to work at all with the Mandigo theme. I keep trying to insert this plugin as a widget in one of the sidebars, but none of my photos show up. FlickRSS seems to work just fine though. So I’m at a loss and need some help! Thanks!

    • Vibol says:

      Ben, I will take a look at this. When I tried, the photos show up just fine as a widget with my theme. Can you see if it works with a different theme? Perhaps you can also provide a link to the theme you’re using. This will help me take a look faster.

  17. Chris Rademacher says:

    I have a zenfolio account, and I want to incorporate it into my blog, but I’m having a hard time visualizing how this looks within the blog. Also, I have no idea how to code, so any help on where I actually put the RSS code would be greatly appreciated, as well. I would love to visit folk’s blogs that utilize this plug-in, so I can see if it’s what I’m wanting to use. Any chance of this being built or Blogger.com, as well?

    • Vibol says:

      Chris, in the newest version of WordPress, you simply install the plugin and navigate to the Appearance > Widget section of the admin pages. Add Zenfolio to the installed Widgets and it should show up on your blog. If there’s enough demand, I’d be happy to port this over to Blogger.

  18. jeff says:

    I was wondering if the before /after need to be filled in… I don’t see any documentation so I’m not sure what goes in there and if that is stopping it from running…

  19. Robert says:

    Trying to get this installed. I get it on the page, but it says Zenfolio RSS probably needs to be setup. Where do I do this. I can’t find Options>Zenfolio RSS you refer to.

    • Vibol says:

      Robert, in newer versions of WordPress, it is in the Settings area. On mine, it is the last item on the list after I click ‘Settings’ in the left hand navigation.

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>