NiO PhotoShelter RSS Gallery Widget


In 2011, I started with this photography website by combining the image archiving and e-commerce capabilities of PhotoShelter and WordPress. One of the things I wanted, was to display galleries of photos as hosted on PhotoShelter in pages, posts and sidebars within WordPress. I could achieve something similar by manually adding recent images to a gallery and using a slideshow to display them. I wanted something more dynamic, however, something that reads an RSS feed and displays the image thumbnails as found in the feed as a gallery. While hunting for a standard solution, I decided to try and create a widget myself, geared specifically towards PhotoShelter. It’s never too late to learn something new, and it worked out. Here is the NiO PhotoShelter RSS Gallery Widget!

What the widget does

The NiO PhotoShelter RSS Gallery widget creates dynamic thumbnail galleries of images recently added to a PhotoShelter in general or to a particular gallery. It does this, by reading either the general PhotoShelter RSS feed (for instance: ‘’), the RSS feed of a specific PhotoShelter Gallery or the RSS feed of a PhotoShelter search. The thumbnail galleries automatically update themselves each time an image is made searchable or  added to a specific gallery at PhotoShelter.

The widget makes it possible to showcase galleries of recent images on web sites that run on WordPress and Joomla, without having to manually update the gallery each time something changes on the PhotoShelter side of life. In addition, the widget does the following:

  • Add a header and description to the gallery, if these are specified.
  • Automatically add hyperlinks to the thumbnails that link back to the source images as archived at PhotoShelter.
  • Automatically add the IPTC title and photographer name to the “title” tag of the thumbnail. This title appears on hovering the thumbnail. It can however also be fixed for all images (for instance as “Image by NiO Photography”).
  • Automatically add the IPTC keywords of the original image to the “alt” tag of the thumbnail, to help improve SEO.
  • Style the gallery and its thumbnails via parameters or via CSS styles. It is, for instance, possible to:
    • Set the size of the thumbnails and specify if they need to be square or if you want to fix the height.
    • Determine whether a high-quality thumbnail with a watermark should be used or a small lower quality thumbnail without a watermark.
    • Set the background colour, border, width and padding of the thumbnail gallery as a whole as well as the background colour, border, width and padding of each individual thumbnail.
  • Tentatively create a caption for each thumbnail based on the IPTC title or IPTC caption of the source image.

The widget can be used multiple times, based on different RSS feeds, on a single page.


The NiO PhotoShelter RSS Gallery widget is written in PHP, and the latest version is compatible with the latest version of PHP (7.4). The widget can be installed on any domain server that supports PHP5 and Curl.

I designed the widget for use with WordPress (in posts, pages and text widgets) as well as Joomla (in articles and modules). For both, a plug-in will need to be activated to allow the use of PHP. The widget code can also be included in any PHP document even if WordPress or Joomla are not used. For this site, I wrote a function that includes the widget code in my functions.php.


Let’s have a look at some examples of what is possible with this widget:

Responsiveness and mobile-friendliness

To make the image gallery responsive and mobile-friendly, I wrote supplementary CSS code. The example below uses this CSS code. The code does two things:

  • Resize the thumbnails depending on the device, orientation and size of the browser window used.
  • Limit the number of thumbnails depending on the device, orientation and size of the browser window used.

This CSS code used is not included in the widget out-of-the-box, because this is just an example to show that making the widget responsive is pretty straightforward.


The NiO PhotoShelter RSS Gallery Widget can be downloaded from our download page.

122 thoughts on “NiO PhotoShelter RSS Gallery Widget

  1. Chris says:

    I’d like to use this widget with galleries other than PhotoShelter (copper gallery and zenphoto), are you working on the general rrs feed that will work with other galleries?

  2. don norris says:

    Hi Johan,
    Great plugin, many thanks for your work.
    I am trying to work out a way to have images link to their parent gallery.
    Effectively, I guess I’m trying to overcome the plugin’s incapacity to link to a collection of galleries.
    About the best I’ve been able to manage so far is to include a link to the relevant gallery in an image’s caption. This is okay, but I think the average viewer who’d like to see more images will probably click on the image – and go to PS’s single image view (where the link to the containing gallery is not glaringly obvious to a first time visitor).
    Any thoughts appreciated and thank you once again

    • Johan Peijnenburg says:

      Hi Don,

      You are very welcome!

      The problem is that the general RSS feed returns general url’s for each image, because images can reside in more than one gallery. As soon as you use the RSS feed of a gallery, you will get the url’s that relate to that gallery … like I did here:

      There is not a lot in the code I can do to overcome the behavior of the general RSS feed. So it is either use that or set up a specific galler that contains the images you want to showcase. Or maybe use multiple instances of the widget on one page, which is possible.

      Cheers, Johan

  3. jonna says:

    Do you know if the RSS feed is limited to 25 photos? I’ve noticed when the gallery has more than one page (each page having 25 photos) that only 25 photos show.

    • Johan Peijnenburg says:

      Hi Jonna,

      25 is the default, but you can increase the number by adding a number to the feed url like this:

      $Za = ‘’;

      Please also make sure to also change the number in the $Zb parametre.


    • Johan Peijnenburg says:

      Hi Grant,

      Depends a bit on whether you set the parameters to use high quality images or not (parametre $Tc). If High Quality is set, 500 pixel images will be used as a basis for the thumbnails. It is possible to go further then that, but that would require a small code hack and you would receive a bit of a performance penalty …


  4. max says:

    Hello, I think is a good script but I couldn’t make it work, I try so long but nothing…
    this is the error if i leave the path = $_SERVER[‘DOCUMENT_ROOT’] . “/niorssgallery/niorssgallery.php”;

    Warning: include(//niorssgallery/niorssgallery.php): failed to open stream: No such file or directory in /demo/niorssgallery/samples/advancedsample.php on line 26 Warning: include(): Failed opening ‘//niorssgallery/niorssgallery.php’ for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in /demo/niorssgallery/samples/advancedsample.php on line 26 Fatal error: Class ‘niogallery’ not found in /demo/niorssgallery/samples/advancedsample.php on line 69

    If I modify the path manually with the exact address

    Warning: include(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /demo/niorssgallery/samples/simplesample.php on line 25 Warning: include( failed to open stream: no suitable wrapper could be found in /demo/niorssgallery/samples/simplesample.php on line 25 Warning: include(): Failed opening ‘’ for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in /demo/niorssgallery/samples/simplesample.php on line 25 Fatal error: Class ‘niogallery’ not found in /demo/niorssgallery/samples/simplesample.php on line 68

    php 5 and curl enable

    thank you!

  5. Jonathen E. Davis says:


    I just wanted to say thank you for creating such a great plugin! For some reason the PhotoShelter Gallery Widget never worked properly for me, but yours outdoes it in many ways!

    My only question is how do you add your fade effect to your gallery photos? When I see the examples on your website… it just makes the gallery really pop! Maybe I’m not seeing the correct coding for me in the readme file.


  6. Philip Knouf says:

    I would like to be able to implement your gallery widget but believe there is a problem caused by how your instructions ask to install the niorssgallery154 folder in the root of our domain. I use the pro hosting service page.ly3 partner with GraphPaper Press. I both can’t install anything in root and I do not have a public-html with them. I host my domain with It would appear to me, though I do not program in PHP, that the following section of each of your sample pages needs to be changed to reflect my server requirements: // THE LOCATION OF THE DIRECTORY THAT HOLDS THE NIORSSGALLERY.PHP FILE. PLEASE DO NOT CHANGE!!
    if (!class_exists(‘niogallery’)) {
    $path = $_SERVER[‘DOCUMENT_ROOT’] . “/niorssgallery/niorssgallery.php”;


    If the above is correct what is the change I should make to each sample post and page as I use in in my posts and pages?


    Phil Knouf

    • Johan Peijnenburg says:

      Hi Philip,
      Try changing:
      $path = $_SERVER[‘DOCUMENT_ROOT’] . “/niorssgallery/niorssgallery.php”;
      $path = “”;

      …. assuming that the niorssgallery sits in the root of the joker domain 🙂


      • Philip Knouf says:


        Sorry for the confusion. My domain is only registered with It is not hosted by them as I do not use their name servers but use the name servers of I don’t know if it is pertinent but I do not use a Cname with Photoshelter nor is one used with Therefore I am not sure what to do to use your widgets. Does the niorssgallery folder have to sit in the root? Do you know of other users who have their domain registered with a site other than where their actual website is hosted?


        • Johan Peijnenburg says:

          Hi Philip,
          The niorssgallery directory needs to be installed somewhere to make sure it can run. If the package you have doesn’t allow you to, you will not be able to use it I am afraid …

  7. Steve Wittenberg says:

    just came on this thread. also, have been having recent probs with the PS widget. can only pull the top level feed of my PS site with no errors. no prob with cut & paste from your sample .php’s though. lemme kno’ when you can have a look or i’ll try to call one of my own galleries to get the error message if you’d like to look.
    sWitt @MeanPony

  8. Johan Peijnenburg says:

    PhotoShelter has just informed me that they addressed the issue with characters and it should no longer impact the use of the widget. Please do let me know if you run into issues again!

  9. Nick Anderson says:

    No worries, Johan. Looking at my calendar it was in fact early afternoon (UK) on the 29th when the widgets stopped working – I always have my sites open here and had looked at something that morning; later on when I accessed a page to get a link for someone the site barely worked at all! Because the sidebar gallery widget was failing to parse the RSS feed, the page load stopped right there so the footer wasn’t appearing either. A temporary disaster rectified by switching off the gallery widget. All reinstated now!

    I struggled for a while to find out the cause, and was baffled. Checking my feeds in the feed validator ( did indicate that I was using ampersands in some IPTC titles, but why that should suddenly become an issue is beyond me 🙂 The PS RSS feeds still work everywhere else, feed readers, browsers etc. And I had long ago already updated my timthumb.php files when that security issue became apparent.

    I don’t know what the knock-on effects elsewhere might be of including those few extra lines of code, but it certainly got my website back together.

    • Johan Peijnenburg says:

      Hi Nick,
      I will wait with hacking my widget. I just ran into a similar problem when including a Photoshelter image in a post using their plugin. The plugin crashes on the keyword “B&W” … so they have obviously done something that isn’t liked by software based on PHP. I have contacted PS to see what their plans are and based on that I will change my widget or not.
      Cheers, JOhan

  10. Clarence Holmes says:


    This morning, I am seeing error messages like the following on some of my widget pages:

    Warning: SimpleXMLElement::__construct() [simplexmlelement.–construct]: Entity: line 42: parser error : Entity ‘copy’ not defined in /home1/clarenc6/public_html/niorssgallery/niorssgallery.php on line 68

    Warning: SimpleXMLElement::__construct() [simplexmlelement.–construct]:”>(Clarence Holmes)</a><br />Copyright: © in /home1/clarenc6/public_html/niorssgallery/niorssgallery.php on line 68

    Warning: SimpleXMLElement::__construct() [simplexmlelement.–construct]: ^ in /home1/clarenc6/public_html/niorssgallery/niorssgallery.php on line 68

    Any help would be appreciated.


    • Johan Peijnenburg says:

      Hi Clarence,
      Looks like you used a special character in the description somewhere. You are using “©” and the widget is not happy with the “&” character.

      • Clarence Holmes says:

        Well I haven’t changed anything from yesterday to today. However, I have been using a lightroom plugin which has changed the way the copyright symbol is exported to Photoshelter. I think my best solution for the long run is going to be to eliminate the copyright symbol from my copyright field. Thanks.

        • Johan Peijnenburg says:

          Think that is the best way forward. I can’t do something myself to change it … this issue is an PHP issues I can’t work around.
          Cheers, Johan

          • Clarence Holmes says:

            I dug into the PHP a little bit (I know very little PHP). I don’t know why this started happening today, but the errors were coming from the parsing of the data from the RSS file which contained the “&” character. I found these issues:

            – the lightroom publish service was sending the copyright symbol to Photoshelter as ©
            – I used “B&W” as a keyword for some of my images
            – I had “&” instead of “and” in some of my captions

            I added the following lines to the niorssgallery.php file

            $data = str_replace(‘©’, ‘©’ , $data);
            $data = str_replace(‘B&W’, ” , $data);
            $data = str_replace(‘ & ‘, ‘ and ‘ , $data);

            just before this line

            $content = new SimpleXMLElement($data);

            Don’t know what caused this or if this is the best way in PHP to solve it, but this is my workaround for today.


          • Johan Peijnenburg says:

            Hi Clarence,
            Thanks, that is a good temporary solution! Meanwhile I have been in contact with Paul Kamphuis. He wrote the LR plugin for PS and is aware of the problem. He expects to release an updated version in the near future.
            For now I wil wait with including a workaround like you suggested, but I might include it to avoid issues with other accented latin characters in the future.
            Cheers, Johan

          • Clarence Holmes says:

            By the way, I see that the lines of code I inserted were changed showing the character equivalents. I’m not sure how to insert the code so its not decoded. What I meant with the first line was:

            $data = str_replace(‘ampersandcopy;’, ‘ampersandamp;#0169;’ , $data);

            just substitute “&” for “ampersand” above.


          • Johan Peijnenburg says:

            Thanks Clarence. I can see it correctly in the raw comments in the WP admin, but thanks for the explanation!

      • Royce Howland says:

        Hi Johan! I can confirm that my instance of the NiO gallery just broke on my site this morning, as well. It was running fine until yesterday. I’ve adjusted nothing, tweaked no captions or keywords, not even uploaded anything to my PS archive for a few days.

        Perhaps PhotoShelter has changed something in their RSS feed that is now clobbering the XML parser. Since I see reference to “B&W” in the PHP stack trace on my home page, I have no doubt it’s the same kind of issue Clarence is describing…

        • Royce Howland says:

          I just put a fix similar to Clarence’s in my niorssgallery.php, and that cleared up the immediate problem. But if PhotoShelter has changed the way their RSS feed sends special characters, you can probably expect to see more instances of this kind of thing shortly. 🙂

        • Nick Anderson says:

          All instances of the gallery widget also stopped functioning on my site on Sept 30 with no instigation on my part – I hadn’t added or changed anything in my PS account for days but the widgets (which draw on two separate PS RSS feeds) just stopped without warning. It certainly does seem like PhotoShelter are doing some ‘tweaking’; they’re getting rather good at breaking things lately.

          Thanks to Clarence and his fix in the comments above, which worked for me too, and continued thanks to Johan for the widget’s existence 🙂

          • Johan Peijnenburg says:

            Thanks for the feedback Nick. I am surprised by the 30 sep date. I haven’t experiences any issues so far and a few other sites I am involved with either. I did release a new version a month ago to fix a security some web hosts have with the version of Timthumb that was used. The new version fixes that issue.
            … looks like I might need to include a permanent fix in line with what Clarence submitted 🙂

  11. Paul says:

    Hi. I’m attempting to get this working and i’m having no luck. I’ve set the folders to 775 and running tests results in:

    You do not have permission to access this document.

    Any help would be appreciated.

  12. Pingback: Branding | Canadian Nature and Landscape Images | Dave Pattinson

  13. Pingback: Integrating PhotoShelter, WordPress & Graph Paper Press – Update | Alpine Nature & Landscape Images | NiO Photography

  14. Regula says:

    I have some problems activating the Plugin. I have On Assignment theme. After loading the plugin, trying to activate it, I get the message: The plugin does not have a valid header.
    Do you know what might be the problem?
    Thanks for any help. Regula

    • Johan Peijnenburg says:

      Hi Regula,
      You probably tried to install it as it was a normal WordPress plugin. That won’t work. The readme.pdf that is part of the package describes the steps you need to follow.

    • Johan Peijnenburg says:

      At the moment the plugin only works with RSS feeds from PhotoShelter. I am expecting to make a generic version available before the summer.

  15. Tom says:

    Woah! I’m really loving the template/theme of this blog. It’s simple, yet effective. A lot of times it’s difficult to get that “perfect balance” between user friendliness and appearance. I must say you have done a fantastic job with this. Additionally, the blog loads very quick for me on Chrome. Superb Blog!

  16. Toni says:


    I’m having problems installing your widget, I have godaddy wordpress hosting, unable to find root directory on FTP. Any help would be appreciated.

  17. Quinn Ryan Mattingly says:

    I added it to my plugins folder, but don’t see anything appear in the plugins or widgets page to configure. What am I not doing right here?

    • Johan Peijnenburg says:

      Hi Quinn,

      This widget does not work like the traditional WordPress widget, as it has been created for multiple platforms. The readme.pdf which is included in the download, describes the installation in detail.


  18. Griffin says:

    Hi – really good site you have made. I enjoyed reading this posting. I did want to publish a remark to tell you that the design of this site is very aesthetically delightful. I used to be a graphic designer, now I am a copy editor for a magazine firm. I have always enjoyed playing with computing machines and am attempting to learn code in my free time (which there is never enough of lol).

  19. Pingback: Branding – Dave's Eye

  20. Pingback: Animations for the NiO PhotoShelter RSS Gallery widget | Alpine Nature & Landscape Images | NiO Photography

  21. Royce Howland says:

    Hey Johan, just a quick shout-out here in the thread. Great work on this widget! I followed the disscussions on it in the PS forums from the earliest point and have always planned to try it out. Just got the time to do so over the past weekend, and it dropped into my Nucleus-based site with no muss & no fuss. Lots of ways to tune and tweak the look, I’ve only scratched the surface with a simple photo wall on my main site home page. Hope to use it for a few more things as well in the future.

    Thanks so much for building and sharing this tool!

  22. Cathy says:

    Hi, brilliant plug in. I had it all working up until a few minutes ago, and then decided to change my RSS feed. And now it's broken! I really can't see what i'm doing wrong, all I've done is change the URL…



    • NiO says:

      Hi Robbie,

      I am afraid that you are correct. The widget won't work with collections. For some reason, the RSS feed of collections has a very different format. I will try to address this at some point, but I am waiting until PS makes some the changes to the set-up of galleries that have been expected for a while.


  23. Pingback: Wordpress & Photoshelter: An Integration Story | Randall Murrow Photography

  24. Pingback: Thanks to Johan!!! | Dave's Eye

  25. Martin says:


    I love the plugin, but I seem to have a problem getting it to work. Whenever I specify that I want square thumbs the thumbs do not load (everything else works, though). I had a feeling that it might be a problem with the timthumb.php, so I tried calling the timthumb.php directly (as specified in the file) and get a 403 Access Denied error. Changing permissions to 755 does not help.

    I know this is most likely not an issue with your widget, but if anyone knows how to solve this I would really appreciate the help.


        • NiO says:

          Hi Freeman,

          Martin's issue was solved. If the square thumbs don't work, it is usually a matter of setting the the permissions for the cache and temp directories correctly. I'll also contact you directly to support.

          Cheers, Johan

    • NiO says:

      Hi Tiff,
      Your images look great in that sample! Re blogger: I am not sure whether Blogger supports PHP. If not, you will have to go the iFrame route. I will contact you directly to see if I can help.
      Cheers, Johan

  26. John Dunne says:

    Hi Johan,

    Eventually got round to setting this up but am having a problem, if you have some time to help?

    In the notes it states to copy the folder to the root of the site. As my site is hosted under a primary domain it's root is /public_html/johndunnephotography. I have followed the instructions and copied it their but when I try and test it using the sample pages it does not find anything. I have confirmed the permissions are set correctly.

    Any ideas where I went wrong?



    oh btw sent you this by mail but I got it bounced back today. Are you having email problems on your side?

  27. gary says:

    Johan, This is without a doubt one of the best plugins. I can’t tell how much this has improved my outlook and productivity. Your extra help was invaluable. I only wish other developers were are helpful and cooperative as you. You don’t give up till it works!!!

    Regards, Gary

  28. Pingback: Official Photoshelter Wordpress plugin review – Mediasculp

  29. Sven says:

    Saw your website a while ago and love how you integrated GPP into Photoshelter. Do you offer customisation / programming by any chance? Shoot me an email if you do!

    Thanks & keep up the great work!

      • James says:

        Hi Johan,

        I really look forward to using your widget. But I am having the same problem as Gary. As I try to install it, I get the following error message:

        The plugin does not have a valid header.
        Internal Server Error

        The server encountered an internal error or misconfiguration and was unable to complete your request.

        Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

        More information about this error may be available in the server error log.

        Any ideas??


        • Johan Peijnenburg says:

          Hi James,
          Looks like you haven’t implemented the plugin correctly. It is not a regular WordPress plugin. The readme file explains how to implement it in detail.
          Cheers, Johan

  30. Richard King says:

    This is the perfect widget to add to my WordPress / Graph Paper Press blog. I really can’t wait to add it.

    However, I am not technically minded and having read the installation instructions feel I don’t really understand how to implement it.

    This is a great shame as you have obviously put a great deal of effort into developing and testing this excellent plug-in.

    Best Regards


      • Richard King says:


        How can I thank you enough for your help and guidance in getting the plug-in up an running on my blog. It looks fantastic and is an incredible boost to my productivity – All my latest work will automatically appear on the top of my blog page in the sidebar.

        It really looks great! A must for all I would think!

        Best Regards

  31. Thad says:

    This is great stuff NiO! Really psyched that you made this!

    I have one minor code tweak/recommendation. There is a deprecated function in timthumb.php that will cause it to break on servers using PHP 5.3. Change this:


    to this:


    And you will be good to go. Again, really nicely done!


  32. Clarence Holmes says:


    Just want to congratulate you on developing a great widget. I have implemented the widget on three of my site pages:

    Home Page – showing the latest images added

    Stock Page (Birds) – showing the latest bird images

    Stock Page (Odonata) – showing the latest dragonfly images

    I found everything to work as described in your documentation. I added a link to your website to the top of the list of my favourite sites.


      • Clarence Holmes says:


        On my homepage, I am currently using the widget to show recently added images, but it really is showing the most recently “taken” images. Do you know of any way to have the Photoshelter RSS feed sort by most recently “added or uploaded” images? Since I am constantly adding older images I want these to show up as most recently added, when applicable.


        • Clarence Holmes says:

          I think I have a workable solution. I did a search of my images with no search parameters. The search results display all public images showing the most recently added images first. I then used the RSS feed from this search. This works.

          • NiO says:

            Hi Clarence,

            Unfortunately I cannot change how PhotoShelter outputs the RSS. I think the workaround you use is a pretty smart one! An alternative would be to create a “recently added” gallery in PS, copy the images you want to show in there and subsequently use the RSS feed from that gallery.

            Cheers, NiO

          • Clarence Holmes says:

            Well… I thought my workaround worked, but I don't think it does consistently. So for now I'll be happy showing the most recently "taken" images and continue to think about how to show most recently "added" on a global basis.

  33. Matthew Oldfield says:

    Johan – Looks like a great tool. Not planning on using right now as vast majority of my new images are not for public viewing – clients only at the moment. But in the future, I think it will be a useful addition.

    I'm also impressed that you have gone to the effort of doing this yourself for free. Im a big fan of open source development – just imagine if PS opened its doors to developers etc!


  34. Pingback: Integrating PhotoShelter, Wordpress and Graph Paper Press

  35. John says:

    Well done Johan this plugin will be so usefull to the PS community. I can't wait to implement it on my site and have the exact location in mind 🙂



  36. Siggi says:

    Just what I've been waiting for. I'll be standing in the line waiting…

    Great site by the way and some stunning photos.

    Greetings from Iceland,

    Siggi Sigurdsson

  37. Nick C says:

    Any progress? I wanna peruse your code and use it to improve my widget. Is that allowed? ;-p

    Really, without knowing more about it, it seems like the only advantage my widget has is the html implementation for non php coders (yeah…using iframes. boo. i want to do a javascript implementation, but my JS needs lots of help).

    Yours works for various properly formed feeds, right?

    • NiO says:

      Hi Nick,

      Testing of the widget is more or less finished. I don’t expect issues anymore and will be creating documentation and a downloadable version in the coming weeks. Have to do it in between other stuff though, so it will probably be end of June.
      Yes, the widget will work for any properly formed RSS feed.

      Cheers, Johan

  38. Pingback: NiO PhotoShelter RSS Gallery Widget – Mediasculp

  39. Kat Landreth says:

    I can’t wait for the release- This will make so much more sense than having a flickr gallery or next-gen gallery in my sidebar.

    Will the number of thumbnails per row and per column be customizable?

    Love that you’re using css too. Should make it much easier from me to style the widget to match my site. Thanks!

    • NiO says:

      Hi Kat,

      Thanks for commenting! Yes, you can play with the number of thumbs per row and columns. You basically set the size of the thumbs, the spacing in between them and subsequently how much width you give to the gallery. The number of rows then depends on the number of thumbs you want to set.

      CSS is indeed possible. The default however is just feeding it with parameters like colour, border, padding. The widget then generates the styling in the background. If you leave the parameters blank, you need to include styles in your style sheet … hope that makes sense.


  40. Allen Murabayashi says:

    very cool! let us know when you're ready for prime time. i bet a lot of people will want this!

  41. Dave Pattinson says:

    The gallery widget was exactly what I was looking for. I needed something that would automatically update my images as my RSS feeds updated. Johan's widget was perfect for my website!!!

  42. Nick C says:

    Having gone through what must be some similar trials during the making of this, I have to say well done! I will definitely tune in to see the code you release and will scour it for ideas on how to make my project better as well.

    I'm a little sad that I wasn't a little faster, as I think the recently released Advanced PHP for the Photo Feed Display would have allowed you to do this with (potentially) less overall work for you. That said, I still really enjoy the challenges of writing up some good code and know that if you do, also, there was much reward in undertaking this project.

    Thanks for the comments on my project! They helped me by reminding me that my code just might be useful to some people and that was enough inspiration to make some changes that I had put on the back burner. It is appreciated!

    I'll link to this project in the comments for now and on some type of 'Links' page if I make one.

    One other thing, if you have an option to 'opt out' or 'opt in' to subscribing to comment notifications, I'd add it. I, personally, like the option.

    • NiO says:


      Thanks for the feedback! I will definitely look add your advanced PHP version in the coming week. The main reason why I went ahead with developing this anyway, was that I also wanted the option of showing large thumbnails (above 200px) and use a different image source then the one provided by the RSS feed. That image source can be derived from the RS feed by applying logic that I embedded in the script.

      Re opting in/out: you can opt in by clicking on RSS 2.0 in the banner below the ShareThis button or in the browser address field. I'll test the opting out, as I haven't done that yet.

      Cheers and good luck, Johan

Leave a Reply

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