With a bit of code from CSS-Tricks, an idea from the WordPress.com blog, and a little elbow grease, I was able to create something that really fits in well on my site. I transformed the jQuery that I found on CSS-Tricks, which was originally used for accordions and turned it into something largely different that I really happen to like.
All I’m doing here is creating a div with an anchor-link inside it for the controller and an unordered list for the menu items. Then I basically just create a jQuery function that turns the anchor-link into a toggle button.
There have been a few people that have already let me know that FancyFlickr doesn’t work with hidden/private photos. Unfortunately the class that I’m using to power the plugin doesn’t have any way to authenticate. This isn’t a huge problem, as I’ve found other classes that do authenticate. The only problem is that the only one that I’ve found and like so far requires PHP5 and PEAR. Here I’d like to ask what the users of the plugin think. Should I continue on the current path — without authentication, or should I switch to a new class with these strict requirements. I’m have no idea how many shared hosting companies support PEAR, but it should be hard to find out if your hosting company does. I’d also like to hear from other developers to get their take on which route to take.
When I started working on FancyFlickr recently, I needed a PHP class to handle the flickr API. I quickly found that I didn’t like many of the classes that I found, for various reasons. I got lucky when I found Addicted to Flickr. The only problem with this one, was that he wrote the class over four years ago and there was some stuff that was quite outdated. The original URLs that it created were broken, which was the biggest problem for me. I rewrote it a little bit, at least so that part works now. So I’m putting it back out there for people to download if they want.
If you run into any problems let me know. If you rewrite any other parts of it, or write a new version, let me know. I’d love to have it for the fancyflickr plugin and to be able to link to it here.
Note: This is not FancyFlickr.
So when I made this new theme for my website, I knew that I wanted to incorporate flickr photos on site site instead of using the built in WordPress gallery. There is just so much that I love about Flickr, not to mention the photos are much safer there than they are on my webserver.
It was a happy coincidence that Chris Coyier did this video on CSS-Tricks shortly after I finished the theme. I absolutely love how this gallery looked and knew right away that I would model my plugin after it.
I’ve just submitted this to the WordPress plugin directory, so I’ll wait until that gets accepted to put up a download link. If, for some reason, they deny the request, I’ll put up a download link here. If you want to check it out before that, drop me a line and I’ll send it over to you.
A great video that Merlin Mann did on 43 Folders, talking about procrastination. I thought everyone should see it. (more…)