Welcome to phpSmug...

phpSmug is a PHP wrapper class for the SmugMug API written and maintained by Colin Seymour. The intention of this class is to allow PHP application developers to quickly and easily interact with the SmugMug API in their applications, without having to worry about the finer details of the API.

With phpSmug, you can easily create additions to your PHP based websites like the rolling gallery below. phpSmug is used to obtain the list of images from this gallery (I hope Andy doesn't mind the free advertising whilst we wait for the API to provide a method to display the most popular photos) [1], and then Coin Slider takes care of the presentation to produce this slideshow.



Latest News

[1] I actually grab the full list of images from the gallery, extract only those that will have width to height ratio of 1.5, shuffle this list and take the first 5 of the shuffled list. This list is then cached for 24 hours.

  

Support SmugMug

Help SmugMug get onto StackExchange by clicking the image below, clicking "Commit" and then confirming your email address.

Support SmugMug get onto StackExchange

SmugMug Discount



2ZxFXMC19qOxU Use the above code to get $5 off your 1st year at SmugMug.
Register here.

phpSmug Users

  • SmugMug Media Silo

    The SmugMug Media Silo is a plugin for Habari that uses phpSmug to interact with SmugMug and present a "silo" for access to a users photos for easy insertion into posts.

If you're using phpSmug and wish to let the world know, drop me a line and I'll add a link and short description here