WP-SmugMug

WP-SmugMug integrates your SmugMug galleries into your Posts and Pages on your WordPress blog.

Due to changes in WordPress and SmugMug’s API’s, this plugin is no longer actively maintained.

Download the current version of WP-SmugMug (2.0.7).

Here is a screenshot of WP-SmugMug in action:

wp-smugmug

Usage

When the WP-SmugMug plugin is installed and activated, a new panel will appear in your Post or Page edit screen. You use this panel to enter and insert information about your SmugMug gallery into your post.

wp-smugmug-options

RSS URL

Specify the RSS feed to a SmugMug gallery. On your SmugMug gallery page, you can find the RSS link by clicking on the Available Feeds link at the bottom of the page:

smugmug-available-feeds

RSS feeds are only available on publicly listed galleries. If for some reason WP-SmugMug cannot access the gallery’s RSS feed, a link to the gallery will be displayed in its place.

Title

This is an optional title that will be displayed above the gallery thumbnails.

Description

This is an optional description that will be displayed above the gallery thumbnails and below the title.

Number of photos to retrieve from gallery

By default, SmugMug RSS feeds only return the first 100 photos. Use this parameter to set the number of photos you want to return from your gallery.

Start at photo #

You can set WP-SmugMug to start at a particular photo in the gallery. Enter a number greater than zero.

Number of photos to display

Set the number of photos to be displayed in this call to WP-SmugMug. For instance, you may want to display the first four photos at the beginning of your post, followed by the remaining set of photos at the bottom of your post. To do this, you would use the [smugmug] shortcode twice in your post.

This is the beginning of my post.

[smugmug url="url_to_smugmug_rss_feed" start="1" num="4"]

This is the end of my post.

[smugmug url="url_to_smugmug_rss_feed" start="5" num="1000"]

Thumbnail size

Choose to display the regular size thumbnails at 150×150 or the tiny thumbnails at 100×100 pixels.

Photo size

This option sets the image that will be displayed when the user clicks on a thumbnail. Note that if you choose WordPress Gallery as the Link Destination below, you must make sure that the Photo Size fits within your site’s template.

Link destination

Choose how what happens when the thumbnail image is clicked on.

Options

Display the captions, sort the photos by EXIF date, set the browser to open a new window when clicking on the thumbnails and display a link to the image gallery at the bottom of the page.

Finally, click on the Send to Editor button to insert the WP-SmugMug shortcode into your post. You may place the shortcode wherever you want the gallery thumbnails to appear.

Changing Default Settings

Click on Settings->WP-SmugMug 2 to bring up the WP-SmugMug Admin Panel. Here you can change the default settings which are displayed in the Post or Page Edit screen.

You can also add a custom CSS styles if you do not want to use the ones that come with WP-SmugMug.

wp-smugmug-admin

Single Gallery Template

WP-SmugMug also supports a custom template page when using the WordPress Link Destination. If a file named single-wp-smugmug.php or page-wp-smugmug.php is present in your WordPress theme directory, WP-SmugMug will that template when displaying the WordPress gallery page for your Post or Page.

A custom post or page gallery template is useful if you want to display a large photo from SmugMug that would not ordinarily fit within the width of your regular single post or page template.

Shortcode

The [smugmug] shortcode is used in a Post or Page to display a thumbnail gallery of images attached to any number of SmugMug galleries. It can be used in its simplest form like this:

[smugmug url="url_to_smugmug_rss_feed"]  

There are many options that can be specified using this syntax:

[smugmug url="url_to_smugmug_rss_feed" option1="value1" option2="value2"]  

You can also display a SmugMug gallery directly in a template like so:

<?php echo do_shortcode('[smugmug url="url_to_smugmug_rss_feed" option1="value1" option2="value2"]'); >

Compatibility with WP-SmugMug 1.x

WP-SmugMug 2 is compatible with previous versions of WP-SmugMug. For all of the latest features, however, you should use the WP-SmugMug shortcode in the future.

Frequently Asked Questions

I updated a caption on my SmugMug gallery, but WP-SmugMug is still showing the old caption.
WP-SmugMug uses SimplePie to retrieve feeds. The default cache time is 12 hours. You can change this by adding some parameters to the end of your feed url (i.e. &x=1).

Version History

  • 2.0.0: Initial release
  • 2.0.1: Specifying tiny thumbnail size now works properly
  • 2.0.2: Specifying num attribute to limit the number of displayed images now works properly.
  • 2.0.3: Fixed incompatibility with html entity decoding on PHP4. Fixed html bugs and added #wp-smugmug html fragment for paged galleries. Disables previous versions of WP-SmugMug.
  • 2.0.4: Added Next/Prev buttons for WordPress gallery style. Fixed bug with WordPress flushing rules.
  • 2.0.5: Fix for jQuery interface change
  • 2.0.6: Fix for SmugMug image permalink structure changes.
  • 2.0.7: Fix for SmugMug RSS feed changes. Removed support for WordPress gallery. Support for galleries larger than 100 images.
  • 2.0.8: Fix for parse error bug when displaying link to gallery.

166 thoughts on “WP-SmugMug

  1. Shonna

    is there a reason the recent galleries rss thumbnails wont show?

  2. I haven’t updated the plugin to support recent galleries, which didn’t exist when I wrote the original version of WP-SmugMug. The feed is in a different format than the normal galleries.

  3. Joseph

    Absolutely love the WP-SmugMug plugin. Its the simplest way for me to update galleries across a number of sites… at the same time.

    I have one question though. Is there a way to put a link in my SmugMug caption and have it show up as a linked caption when viewed through the lightbox on my site?

    I’ve tried a few things but the caption fails to show as a link. This would be a HUGE feature if there was a way for the plug-in to realize the caption from SmugMug had a link and showed it as a link.

  4. Lightbox grabs the value of the title attribute from the image (or link). I believe that WP-SmugMug strips out HTML in those attributes, which is why the links in the captions aren’t coming through. It’s also possible that your lightbox plugin is doing the stripping. I’ll look into this for a future release of WP-SmugMug.

  5. Joseph

    Adam – Thanks for the quick reply. I’ve tried WP-SmugMug with 4-5 different lightboxes and none show linked captions. I look forward to any updates to WP-SmugMug that do not strip HTML information from the caption.

    Again… great plug-in. Thanks for your hard work!

  6. Thanks for your plugin. On one site I am working on WP-Smugmug interferes with the Simple-Press plugin. Basically it 404’s every page in the Simple Press forum. I believe the issue lies somehow with JQuery. Is there any plans for an update?

  7. Glenn – Will have to do some debugging of this problem, as I haven’t encountered it before.

  8. Michael

    I tried the Plug-in with the LightRoom widget but the lightroom looks different on my site than it does on yours. Yours super-imposes the photo over the background of the blog post; mine superimposes it over a black background. I’ve tried this in combination with several different Themes, all with the same result. Any suggestions? I’d prefer the image to be superimposed over the blog-post, as it does in your example…

    Here’s my test blog post:

    http://www.cartadiem.com/blog/?p=4#more-4

  9. Hi!
    I can’t seem to get the images to show, it just shows a link to the gallery. Is there something that I can do to fix this?
    http://www.esphoneblog.com/2010/07/06/pictures-samsung-galaxy-s/

    Cheers,
    Jonne

  10. Make sure the feed URL in your shortcode starts with http:// instead of feed:// ?

  11. […] menu, based on the photos that are uploaded at my Smugmug site. I used Adam Tow’s beautiful Smugmug-Plugin, fidled a bit with the CSS and the settings and voilá. Hopefully… If it doesn’t […]

  12. lucky

    is it only can retrieve 100 picture?…how bout if i have 150 pic????

    any solution how can i retrieve all the pic and not being limited….

    thankss….

  13. Try setting the ImageCount parameter in the feed url.

  14. lucky

    yeah, i already changed it through hardcode, but still only can get 100pic max…any solution?

  15. You need to set both the ImageCount parameter in the feed url and the Number of Photos to retrieve in the shortcode. Let me know if that works.

  16. lucky

    already set at the admin, retrieve = 200 display = 200 but when i saved, the retrieve came back to 100…like beling limited to max retrieved = 100

    already set the shortcode num = 200…still only 100 pic shown…

  17. Lucky – Can you send me via email the link to the gallery you are trying to access?

  18. Alan

    Hi
    Trying out the plugin with Lightbox and it works great! Is there any way of removing visitors ability to download the photo?

    Thanks!

  19. Alan – No way to prevent visitors’ ability to save the photo from within the plugin.

    Plus, if you disable easy sharing in your SmugMug gallery settings, you won’t be able to see any photos at all using WP-SmugMug.

  20. Hunter

    the images in my post are only showing up in one column instead of rows…is there a way to fix this? or is it an issue with the theme i am using…

  21. […] website pulls the most recent photos from the SmugMug website via the WP-SmugMug Plugin. As new photos are added the website is updated […]

  22. Kevin

    Same as Hunter…I’m only getting one column down the left side instead of rows. How can I fix that? thanks!

  23. marie

    Hello,
    This seems a great plugin but… can I use you plugin with WP 3 please?
    Did you test it?
    Thanks!

  24. Kevin and Hunter: It could be a theme issue. Can you try changing to another theme temporarily to see if the columns appear again? The other thing is that you might need to specify a different size for the thumbnail images. From Thumb to Tiny.

  25. Marie – Yes, it should work on WP3.

  26. Tried it on WP3 installed on a site of mine.. seems to be working fine. Cheers.

  27. Hi, I am trying your plugin. I notice that when I click on a photo on your site smugmug is not starting, but instead the first photo is shown with the possibility to navigate. On my test site smugmug is started. what do I have to do to get the same result as you have?

    Regards,

    Jan

  28. Is it possible to show images from rss with TWO words? Like Kasper + Solberg?

    http://www.smugmug.com/hack/feed.mg?Type=search&Data=kasper%20solberg&format=rss200

    I am not clever enough to get it to work. :(
    Am I doing something wrong?

  29. Jan – Can you send me the [smugmug] shortcode that you are trying to use?

    Kasper – right now, the plugin doesn’t support RSS search feeds. I’d like to add this in the future, however.

  30. Well…. Then I’m happy to tell you that it actually DOES support search feeds (with only ONE word).
    This works for me: http://www.smugmug.com/hack/feed.mg?Type=search&Data=kaspersolberg&format=rss200

    :)

  31. Justin

    You say that the wp-smugmug feed cache can be controlled by setting the MAGPIE_CACHE_AGE value in your wp-config.php file however this is not a default setting in a wp-config. Can you elaborate on exactly how to do this or is there another way to clear my feed cache?

  32. Justin: just add this to your wp-config.php file (somewhere in the middle):

    define(‘MAGPIE_CACHE_AGE’, XXXX);

    Where XXXX is the time you want the feed to be reservist.

    That said, I noticed that MagPieRss has been deprecated in WP 3.0 so I might be swapping it out in the future for SimplePie. Until then setting the pref should do the trick.

  33. I have the same problem than lucky, when I clik the button “save” the numer return to 100

  34. I have the same problem than lucky, when I click the button “save” the number return to 100 and I need at least retrieve 201 pics.

  35. Hi Adam, I’m transferring a Flash-based site to WP 3.0.1 and would like to use your plug-in, but when I go to install it, it gives a message that it hasn’t been tested on this version of WP. Will there be any issues, or will it work just fine? Thanks!

  36. Can you use this plug in to show the images as a slideshow instead of just a gallery? So it automatically runs through the images without having to click on each one?

  37. Paul

    I am running into the same problem as Lucky. Can only show 100 pics. Any solution to that. Also what light box pulgin are you using on this page. I installed the one from the link and it looks different and you can’t right click save.
    thanks

  38. Linh

    Has anyone encountered problems with thematic based themes? It seems to reset the css so the ul/li are all defaulted.

  39. My gallery shows up only as a column and not as rows, just like Hunter and Kevin. The problem shows up in every theme and in every configuration of your plugin. I’m using WordPress 3.0.1.

    Can you please find a solution to this?

    Many thanks.

  40. Have you tried using a smaller thumbnail? Instead of the regular thumbnail, use the tiny thumbnail? It could be a CSS issue. I will have to look into it. What theme are you trying to use?

  41. Hi Adam, and thank you for replying.

    I’m using a modified theme, but this happens no matter if I use the default theme or tiny thumbnails or any other setting..

  42. I’ve noticed that the images are displayed into an list, and I think this is the cause of why this happens. There is a way to remove this listing ?

  43. WP-SmugMug formats the gallery in a list; there is CSS that tranforms it into rows and columns of floated list elements. I have a feeling there is a CSS rule in the theme which is messing things up. Unfortunately, I don’t have time at the moment to track this down.

  44. Jay

    When adding a “custom post type” entry, wp-smugmug does not appear in the editing panel. What and where would I edit to make this happen?

    Great Job,

    Jay

  45. WP-SmugMug was written before custom post types were available, so I need to find the hook to enable you to do that. I’ll put it on my to-do list. In the meantime, you can create the shortcode yourself from an existing post and copy and paste into the custom post.

  46. Jay

    Thanks Adam,

    I have been doing the post, copy and paste as my current work around. I thought I would bring the custom post type issue to you as they are great for portfolios

    Thanks again,
    Jay

  47. You can also set your defaults in the WP-SmugMug admin page. Then, all you really need to do is specify the feed url within the shortcode.

  48. Does this plug-in work for video?

  49. This is so hard for me!
    Since the author doesn’t have the time to fix the plugin, and there is no other plugin with this functionality, would anyone suggest me someone able to fix it for me? I’ll pay money!

  50. oh, forget it. I’ve hired a programmer.

  51. I have photos of old toys that I am selling in Smugmug. The photos come in WP fine however I want to be able to add a shortcode under each photo to display an Add to Cart button.

    If I added the shortcode in the smugmug comments , do you think it would carry over & work in WP?

  52. I don’t think that will work, due to the way WP-SmugMug currently formats the caption.

  53. Hi,

    is there a way to have the caption at the bottom of a photo (I’m using WP-Slimbox2) link to a photo’s smugmug page, rather than just a small jpg version of the photo hosted on smugmug?

    Thanks,

    -John

  54. That’s hard to do at the moment. The value of the caption hyperlink is the same as the Link Destination. I’d have to decouple the two in order for what you want to work.

  55. Ah gotcha, no worries.

    I guess the behavior of clicking the pictures opened in the lightbox (using slimbox2) is governed by the lightbox plugin itself?

  56. Hi

    I love the plugin and thanks for developing. I have got it working nicely and with a lightbox. Te only issue is that it randomly takes my gallery away and replaces with a link to the Smugmug gallery. The page is below:

    http://www.filedimage.com/wordpress/?page_id=105

    I have tried other light boxes and galleries but to no avail. Any ideas?

    Thanks

    Chris

  57. This plug-in is just what I was looking for! Great job.

    I am using this for my Project365 on my blog site and found one issue that I would like to resolve, if I can. The refresh rate of the feed : I now this was mentioned earlier up a few posts, and I am running 3.0.4, so the MagPie is no longer aviliable.

    I went forward and installed the SimplePie Core and SimplePie-WP onto the blog. I started looking thru the code to see where I can use it to call the RSS feed, but I just got lost. I’m not a coder, but I can read it to some extent. Rather than jacking up the code beyond all belief, can you point me in the direction when I may be able to make that modification to something more like every hour. Right now it seems to be ever 12 hours or so.. Not sure though…

    Thanks!
    -Jay

  58. Odd that I’m running 3.0.4 and the plugin is working. I know that MagPie is on its way out, but didn’t know that it was finally removed. Replacing MagPie with SimplePie is going to take a little more work than changing a few lines of code. Will look at it soon.

  59. Rick

    hey Adam, cool plugin. but did u ever happen to get the thumbnail to show up for the galleries? i have 6 galleries so i want those to show on my page, but right now it just shows the title of the gallery in place of the thumbnail, with the same text under it as the title. thanks for the help!

  60. Thanks for this. I did make one change to my install so that it was consistent with the way I use my web site. For each image gallery I often use one embedded image in a post as a link to the full gallery in lightbox. Clicking on the one thumbnail loads all the images in lightbox.

  61. Great Plugin, thanks!

    I’m having problems with the 100 photo limit as well though. Any fix that will allow me to show an unlimited amount of images?

    Keep up the great work!

    Best,

    Toby

  62. […] the technical minded, I am using the WP-SmugMug plugin and one of the many WordPress Lightbox plugins. The WP-Smugmug plugin reads the RSS feed […]

  63. Hi Adam, just a note to say that the “Gallery page on your WordPress blog” option seems to have stopped working in WP Smugmug. If you click the images on your own page, the page reloads but no image is displayed, just the usual WP layout. All the other options still work. Hope this is useful and thanks for a great plugin. Best, Chris

  64. Chris – thanks for catching this. That option has always been a little buggy. Will look into it when I have a moment.

  65. samir

    hi, thanks so much for your work. coders like you make it easy for me to goof around with web design in new ways.

    two questions, one has been asked above: Rick asked about the text below the thumbnails, which i cant seem to change either. i would prefer to just turn it off instead of the UserID and “photos”

    secondary request/question may not be for you but rather a jquery lightbox dev, but is there a way for the image info that is displayed to be the tags i have set in smugmug? i tend not to caption photos, and i tend not to use filenames, but i do attempt to have pervasive tagging.

    thanks again for your excellent work.

  66. For those having trouble with the 100 photo limit, try adding “&Paging=0” to the end of your smugmug URL. For example:

    [smugmug url=”http://johnsalomon.smugmug.com/hack/feed.mg?Type=gallery&Data=12540497_wVoK8&format=rss200&Paging=0” imagecount=”500″ start=”1″ num=”500″ thumbsize=”Th” link=”lightbox” captions=”false” sort=”true” window=”false” smugmug=”false” size=”M”]

    My turn with problems:

    If I place multiple feeds in a post, it only seems to display photos from the first one I insert. For all the others, I only get “view photos at Smugmug” with a link to my gallery. For example,

    http://www.zog.net/photography/festival-mondial-du-cirque-de-demain-2011/

    RSS feed is at

    http://johnsalomon.smugmug.com/hack/feed.mg?Type=gallery&Data=15641678_cQvDw&format=rss200

    And my first four entries in the post are

    [smugmug url=”http://johnsalomon.smugmug.com/hack/feed.mg?Type=gallery&Data=15641678_cQvDw&format=rss200″ imagecount=”5″ start=”8″ num=”7″ thumbsize=”Th” link=”lightbox” captions=”false” window=”true” smugmug=”true” size=”M”] (displays only the link)

    [smugmug url=”http://johnsalomon.smugmug.com/hack/feed.mg?Type=gallery&Data=15641678_cQvDw&format=rss200″ imagecount=”7″ start=”1″ num=”7″ thumbsize=”Th” link=”lightbox” captions=”false” window=”true” smugmug=”true” size=”M”] (the first one I inserted — displays pics ok)

    [smugmug url=”http://johnsalomon.smugmug.com/hack/feed.mg?Type=gallery&Data=15641678_cQvDw&format=rss200″ imagecount=”11″ start=”13″ num=”11″ thumbsize=”Th” link=”lightbox” captions=”false” window=”true” smugmug=”true” size=”M”] (link only)

    [smugmug url=”http://johnsalomon.smugmug.com/hack/feed.mg?Type=gallery&Data=15641678_cQvDw&format=rss200″ imagecount=”6″ start=”24″ num=”6″ thumbsize=”Th” link=”lightbox” captions=”false” window=”true” smugmug=”true” size=”M”] (link only)

    …etc.

    The smugmug RSS feed suffers from the 100 pics limitation until I do the &Paging=0 trick above, and by itself displays all pics:

    feed://johnsalomon.smugmug.com/hack/feed.mg?Type=gallery&Data=15641678_cQvDw&format=rss200&Paging=0

    A bunch of my posts have this issue, not just ones where I tell wp-smugmug to show photos in different blocks:

    http://www.zog.net/photography/into-the-ecuadorian-amazon-2007/

    (in post: [smugmug url=”http:http://johnsalomon.smugmug.com/hack/feed.mg?Type=gallery&Data=12481645_wSNik&format=rss200&Paging=0” imagecount=”500″ start=”1″ num=”500″ thumbsize=”Th” link=”lightbox” captions=”false” sort=”true” window=”false” smugmug=”false” size=”M”])

    Any ideas?

  67. Hey Adam,

    Im having the same prob. Would like to display more than 100, but cannot get the plugin to retrieve more than 100. Even if I ask for a 100 photos, but from images 150-249, still will not work. I’d love to have all images displayed. Other than that, awesome plugin!

    Cheers!

    Shane

  68. samir

    ok one more comment/question. i tried about 10 lightbox plugins, and cant find the one that you use on the “lightbox” option on your demo set of photos above.

    do you mind disclosing which specific lightbox version you use?

    its snowing mega mega blizzard style here! plenty of time to do web design!

    thanks!

  69. Shane, you’ve tried the &Paging=0 thing?

  70. Hello.

    Thanks for this plugin that seems to be great. I’m wondering if someone know an easy way to allow user to choose the size of images – like with a widget – that will be then sent to smugmug through url.

    Thanks for any help.

  71. Maybe my question was not very clear :) I don’t speak about user of the plugin … there is a box for this to choose size … I would like to use everywhere in smugmug links generated by plugin a size defined by visitor of the website, for example using a widget.

    I hope it’s clearer now :)

  72. Tak

    Very nice plugin.

    One thing that I had a bit of trouble working out was the URL of the RSS feed gets defaulted to start with “feed://” in Safari, instead of “http://”.

    Although you mentioned this in a previous comment, I think it would be worthwhile mentioning this in the instructions.

    Thank you!

  73. Chris

    i love your plugin btw.

    but right now it doesn’t support recent gallery rss feed….
    …any word on when you’ll work your magic and add that option?

  74. Great plugin!
    It would be nice if we could have further custom values for the size of thumbnails.
    Keep up the good work.

  75. Hello,

    I am trying to use the short code in a template. This works great!

    However, I need the images to display one on top of the other vertically instead of horizontal. Is there some way to accomplish this?

    I tried repeating the shortcode in the page template but that does not work. Is there someway to repeat the short code on a page more than once?

    Any ideas would be greatly appreciated.

    Thank you!

  76. You should be able to repeat the shortcode on the same page.

    No way to configure the display to be horizontal or vertical. You could make the image display to be larger so that it forces images to be on top of one another, but that’s more of a hack. Maybe a future version will address this.

  77. All I get are a bunch of broken links. I really want to use this plugin, can anybody help

  78. Danielle

    Is there any way to just display all of the photo galleries under one subcategory? I want to display all the photo galleries here, but it’s a subpage to the main smugmug account: http://bluegrasswrestling.smugmug.com/Badger-Wrestling

    1. WP-SmugMug doesn’t support galleries at the moment. Maybe in the future.

  79. Hi,

    I have problem even starting. Plug in is activated, but when I fill everything and click on “send to editor” nothing happens… :(

    It is not showing anything in my editor or code..

    Any ideas ?

    Thanks

    Martin

    1. Is JavaScript enabled in your browser? Which browser and OS are you on?

  80. Hi there,

    Is there any way I can use your plugin or something similar, source code or whatever on my wordpress.com blog? I can’t use any plugin since there is no ftp, its a web-based platform. T__T

    thanks a lot

  81. Adam:

    Great, great plug-in!

    I, like Samir (commented back in Feburary), am interested in knowing what Lightbox plugin you are using to get the nice, clean effect on your sample images – specifically those used in the “Image File” and “Lightbox-view of the photo” samples.

    Would you mind sharing the plugin (and any related config info) that you used to get this nice effect?

    Thanks!

    – Bruce

  82. […] WP-SmugMug is the last one to try. Install is okay, I create a new post with its short code including my RSS feed URL and perfect! It pulls my images and nice and quick too. Unfortunately, no slideshow. […]

  83. Josh Martinez

    Adam, please help! Smugmug rolled out a new URL structure on thursday and all new photos added to a gallery just show up as broken links with your plugin. Not sure what the fix is, but we need help!

  84. I am also having problems with the new SmugMug feeds and have been in contact with them and they say they are working on it. But tonight I see you had a version update so I did the automatic update only to find I’m completely locked out now. The plugin deactivated and I get this message when I try to activate: Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home3/username/public_html/blogname/wp-content/plugins/wp-smugmug/wp-smugmug.php on line 496

  85. Colleen: Please update to 2.0.8 (just released this), and let me know if the parse error resolves itself.

  86. If you are running into memory problems with WP-SmugMug, follow the tips on this page:

    http://wordpress.org/support/topic/fatal-error-allowed-memory-size-6

    I had to rewrite the engine that fetches the feed in version 2.0.8, using SimplePie instead of MagPieRSS. Unfortunately, this has the effect of increased memory usage.

  87. Hi Adam,

    Not sure if this is related to the previous issue, but I just noticed today that one post that had been working no longer is. The error is “Fatal error: Call to a member function get_thumbnail() on a non-object in /home1/coastal2/public_html/aaronpriestphoto/wp-content/plugins/wp-smugmug/wp-smugmug.php on line 395”. If I remove the WP-SmugMug link from the post, then the page loads fine with all the previous posts also loading fine. As soon as I add that one gallery link back the page hits that error and stops loading any previous posts below it. I’ve got WordPress 3.1.1 and WP-SmugMug 2.0.8.

    Thanks!
    Aaron

  88. Hi Adam,

    I upgraded yesterday to 2.0.8 and this morning I saw that my photos order in my galleries changed, it got reversed, the lasts photos are now showing first, which is not something I want.
    Is there something I am missing (new option somewhere?), is there a way to put it back like it was before?
    Thanks!

  89. Well, I had to remove the WP-SmugMug link on that particular post. I never could figure it out, but it was breaking all sorts of things on the rest of the page for the rest of the posts, like the lightbox plugin wasn’t even loading for other posts. Wish I could have gotten it to work, but after 48hrs I had no other ideas. :-|

  90. Fantastic plugin. I just found smugmug’s “slideshow” feature last night. Any chance you’ll be adding this feature to the link destinations options in the future?

  91. I’m wondering if I can somehow use this to have a feed of images appear in my sidebar? I know this is not a widget, but can I get it to load small thumbnails into my sidebar using an html widget?

  92. I really love the plugin. However my thumbnail gallery stooped working around the time I moved to 2.0.8. I reinstalled 2.0.7 but still cant load the gallery page.

    Any ideas?

  93. Ok I fixed the sorting by disabling the sorting in the script

    Also, now I have the same problem as Aaron
    Fatal error: Call to a member function get_thumbnail() on a non-object in /home/xfrog/public_html/photocedric/wp-content/plugins/wp-smugmug/wp-smugmug.php on line 395

    I tried to put my memory limit higher with no result! :(

    Any idea?

    1. Ok, I reverted back at 2.0.6, for now, to have my blog working again

    2. Danny

      How did you get 2.0.6? Where could I get it?

      We’ve been trying to integrate the smugmug plugin and get the same line 395 error. I’m noticing dozens of websites are having this error, so it seems there’s a bug with 2.0.8.

      Can you compare line 395 from 2.0.8 and 2.0.6? 395 in 2.0.8 is
      $thumb_url = $enclosures[1]->get_thumbnail();

      1. I’m releasing a new version of WP-SmugMug which avoids this problem. Let me know if it works. Will be up shortly via WordPress upgrade.

  94. I’m getting an error on my website when I view more than 4 posts on a single page.

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 24 bytes) in /home8/philipca/public_html/studio1250/wp-includes/class-simplepie.php on line 14525

    Please look into this problem.

    1. The new version of WP-SmugMug uses a different RSS parsing mechanism which isn’t as good with memory management. Keep the number of galleries displayed to less than 4 (sometimes 3).

  95. Adam – I upgraded one blog from 2.0.8 to 2.0.9 and I get multiple entries of this at the top of my blog article:

    Warning: htmlspecialchars() expects at most 3 parameters, 4 given in /home3/username/public_html/mishapsandmemories/wp-content/plugins/wp-smugmug/wp-smugmug.php on line 452

    On another blog it works fine. Any ideas?

    1. In regards to the above error, I should mention, that by switching back to 2.0.8 my problem was solved, so for now I’m just staying there, but would like to stay current if possible.

  96. I know you gave a brief explanation at the top of this blog page about how to reduce the cache time when updating new photos, captions, etc. Can you go into more detail about that? For instance, when I add a new photo to SmugMug, is there a way for the update to happen automatically when refreshing the gallery page on my WP site? Even if it can’t be instantaneously, what’s the quickest it can be set to update the cache and how do you do this?

    Thanks! Love the plugin.

  97. […] trying to determine the best way to share my existing photos from SmugMug, and the wp-smugmug plugin appears to be the best one.  More tweaks to these pages in the days to come…and more […]

  98. Angel2609

    I’m trying to use this plugin but I keep getting the following to show up before my images are displayed:
    Warning: htmlspecialchars() expects at most 3 parameters, 4 given in /home/content/a/n/g/angie2609/html/wordpress/wp-content/plugins/wp-smugmug/wp-smugmug.php on line 452

    Any idea what is going on? This will repeat down an entire page before I see the pictures I’m pointing to.
    I think the plugin is great and it looks really nice on your website. What do you use to make them pop-out from the webpage when you select image? Mine just goes to a blank webpage with the image displayed.

    Thanks
    Angie

  99. hrm, I just updated and noticed your CSS for this seems a lot different than 2.07. It totally broke me. I’m pretty sure it has to do w/ the theme I’m using (autofocus+ pro using thematic). This is w/ 2.0.9 and 2.0.8. I’ve been using 2.0.7 and hadn’t noticed the updates, but it still works fine for me.

    Basically, it turns the thumbnails to a long bulleted list.

    Probably very few if any are running into this, too.. sadly, the guy that does my theme hasn’t been able to move off thematic yet. But if you happen to have any ideas I could try, I’m up to try, heh

    1. actually, I’ll add that 2.0.7 on wordpress seems to be read as 2.0.6. And doesn’t work, go figure. I’m back at the latest version for now

  100. Angie and Linh:

    I’m going to respond to both of you. I’m traveling at the moment, so I don’t have time to debug this problem for you. I have plans for improving the plugin, but it’s going to come by mid-June at the earliest. Sorry for the inconvenience and thanks in advance for your patience. I’ll be in touch with both of you directly when I have something for you to check out.

    1. no biggie, it’s awesome enough that you even have this or else I wouldn’t even have this, heh.

    2. Angie

      Hi Adam,
      somehow it started working and I have no idea what I did. It also went ahead and upgraded my version of php from 4 to 5 so I can use more plugins. I really like your pictures on this page. I would love to know what you use to make them pop-out of the page instead of displaying on a different page.

      Great plugin and I love that it works with my smugmug galleries.

      Angie

    3. I just got a chance to dig around some, and I’m certain the issue is my themes css is taking precedence. I have to tweak the spacing (that’s a given), but I think if I just force your css to take priority, I should be good in theory.

      Thanks man

  101. Great plugin. How do I create more space between the thumbnails in the gallery? I want a little bit more cushion between the thumbnails so they’re not so close together.

    Thanks!

  102. Ryan

    Thanks for all your great work! I’m using your plugin with Fancybox. It seems to work just fine. The captions from the SmugMug images appear below the thumbnails on my page. I’d like to get the same look you’ve created above: thumbnail gallery with captions that appear only when a user clicks on the image and sees it in a lightbox.

    When you have a moment, please let me know if you think this is a CSS issue on my page or another issue. Thanks!

  103. Adam, just an FYI/question: line 373 ish

    $output .= '' . wptexturize($title) . '' . "nn";

    Not sure what this does, but my output is “title”

    1. Ok, so the less/greater than brackets don’t show right… but basically my output has and then my title.

    2. ahhh.. sorry. it is: less than sign, greater than, then my title. blasted reply boxes

  104. Adam – wouldn’t you just know it. I’ve changed my theme to one I’m very happy with and now your plugin doesn’t function properly. The problem is that in the editing mode, I can’t get the RSS feed to insert into the post. I’ve had to resort to copy and paste from previous posts; changing just the RSS feed url. Of course, I’m frustrated, but I also know that since it’s theme related, you probably can’t do much about it. The thumbnails show up just fine once I copy in the shortcode.

    Any suggestions – besides changing themes???

    The theme I’m using is: Beauty & Clean 1.0.2 by Your Inspiration Web

  105. mpulse

    Can someone please point me in a right direction with wp-smugmug/wp-smugmug.php file to allign thumbnails to top? I’ve tried making some changes but no matter what I do, thumbnail will not go above the center. Here’s a screenshot http://photos.smugmug.com/photos/i-fgbWntB/0/XL/i-fgbWntB-XL.jpg

    Thanks.

    1. mpulse

      Scratch that. Widgets on right side are forcing wp-smugmug to be below widgets. I deleted widgets and thumbnails are aligned on top now. Is this a limitaion of wp-smugmug?

  106. […] code direct from Smugmug into my Blogger post.  However, thanks to the WordPress Plugin “WP-Smugmug” I can now post entire galleries into my WordPress blog  posts.  Eventually, there will be […]

  107. Is there any way to include the “share” buttons associated with smugmug into my site using the plugin? It works great embedding the galleries but the “share” buttons are missing when opened in lightbox or any other option to view a single image.

    Thanks!

  108. Chris

    I am testing out this plugin, and I really like the concept. The problem is, even though I have installed a wordpress lightbox, I am unable to get the gallery to use it. It always defaults to showing the actual image, which is less than ideal.

    Anything you can suggest?

    http://oconnorphoto.net/?page_id=605

    Thanks,
    Chris

  109. Hi,

    It seems your plugin is the best so far i tried all of them, but meanwhile i’m having the problem in pages. if you have for instence 50 pictures to dispaly but you set “Number of photos to display’ to 9 it only display 9 pictures. Im using Lightbox plus plugin for the galerria but it’s not showing the rest of the pictures i mean all the 50 it shows only 9.

    Is there any solution for that.

    Another question if i want to put facebook and twitter like button in the lightbox is that possible, is there any lightbox that comes already built with it?

    Thank you for your support.

  110. What if my smugmug gallery grows beyond 100 photos? what suggestions or help can you offer? Thank you! and your WP-SmugMug is the life of my website!

  111. Help oh help. I have searched forums for hours – I have installed the WP-Smugmug plugin. It is activated, and all I get is “click here for images” when I put the shortcode in. Why isn’t it giving me the galleries?
    Thanks for any help.

  112. adding the &x=1 argument to the end of my rss feed url does not seem to update the rss feed every hour but still 12 hours. how can I fix this?

  113. Hello –

    I would like to customize what is above each photo when viewing the photo’s in the lightbox view. It currently grabs the value from the “FirstName” field in SmugMug’s Account Settings, and then it add ” ‘s Photo “. So if i put the value “Client” in the first name field, then ” Client’s Photo ” would display above the photo. I would like to hardcode a value instead, but I cannot find the code that is handling this in either of the files available for me to edit. Any help with this would be appreciated!

    Thank you,
    Larry

  114. Fantastic plug in. Is there a fix for gallery size? I’ve noticed that galleries over 500 photos in size tank WP. Is this a fail on the plugin or a fail of WP?

  115. Hi! Not sure if this plugin is supported anymore – I suspect not – but maybe anyone can point me in any helpful direction!

    I have a very weird problem: I input the RSS feed link and the thumbnails show up perfectly when I preview the page, BUT, the moment the page is refreshed I get a lot of broken links ( the dreaded question marks)! Anybody have any thoughts, any at all?!?

    And, no lightbox feature either!

    Cliff

  116. Hi MB! Your Myrtle Beach Golf site looks brilliant!!

    Hey thanks a bunch for your kind offer to have a look! I actually got it working :) Silly enough, I had a couple of galleries set at “no external linking” and that’s what was breaking the links – the part that really threw me is that they would show up fine until a refresh!?!

    I’m only starting to build my site but you can check up on it if you like at: http://fluentlight.com

    Oh and I also got the lightbox working and if anybody needs help I “might” be able to point them in the right direction! What a great plugin!!

    Thanks!

  117. I’m looking to integrate all of my SmugMug galleries into WordPress, and want the page to not show recent individual pictures, but the gallery links. Is there anyway to do this?

  118. I also tried this for the first time recently and am seeing broken image links in the Preview view of wordpress.

    1. switched thumbnail size to TINY and it worked.

    2. but then it failed again… what’s going on here?

    3. changed gallery setting to allow external links and now it’s fine!

  119. Will there ever be support for having a “buy prints” link in the lightbox or below the image(s)?

    Thanks

  120. Either your examples are misleading or I have not configured the plugin correctly: if I select Link Destination “Image File” should it show me a slide-show (as in your example) or just a single image?

  121. Sean

    Hi Adam,

    Thanks for the plugin. Unfortunately, I’m not that computer savvy and don’t really understand what paramiters I need to enter, to integrate SmugMug and WordPress.

    Thanks.

  122. Hey Adam –

    I’m looking to integrate all of my SmugMug galleries into WordPress, and want the page to not show recent individual pictures, but the gallery links. Is there anyway to do this?

  123. Hi Adam – I just upgraded one of my blogs to WP 3.4.1 and now your plug-in seems to be breaking my site. I removed all my plug-ins and added them back in one-by-one and all was fine until I got to the last one, which is your’s. I’m not going to update any of my other sites until I can figure out a fix or replacement plugin. Have you encountered this problem and do you plan to upgrade your plugin to work with 3.4.1?

  124. What kind of error is it giving you?

  125. jimpa

    I love the possibilities of this plugin and the demos to working sites.

    The issue I’m having is that instead of a gallery, I get a link to the gallery.

    I know above it says that, “RSS feeds are only available on publicly listed galleries. If for some reason WP-SmugMug cannot access the gallery’s RSS feed, a link to the gallery will be displayed in its place.”

    I’m using the link Smugmug creates, I’m sure it’s a public gallery and changing it from feed to http, but still no success.

    Any ideas? I’d be happy to provide more details privately as the gallery isn’t ready for the world, yet.

  126. Colleen Easley

    Adam: My bad – it’s working fine. I just forgot that I had changed the domain name at SmugMug so all the RSS feeds needed to be updated. Sorry!

  127. I have been using this plugin to display my smugmug galleries on my site. Its been working great until now. About a week ago, the rss feed from smugmug keeps timing out before the plugin can load the photo thumbnails. I’m not sure what’s changed

    I have this error in my dashboard
    WP HTTP Error: name lookup timed out

    Is that smugmug, wordpress, or the plugin timing out? I'm using wordpress 3.4.2
    Can you help?

  128. Ohmygoodness!!! You are an answer I’ve been LOOKING for…thanks SO much for you work. I hope you never get tired of hearing the thanks.

    My issue is that I’m new to the whole web thing. Your plugin works perfectly–2 questions:
    1) is there any way to get rid of the names below the thumbnails?
    2) i’m a rookie, but how do I get back to my other pages (get out of) the smugmug gallery once I’m in there?
    Thanks for your work.

  129. Add captions=”false” in the shortcode to remove the captions.

    Check the “open links in new window” button. This will open a new window/tab instead of using the current window.

  130. Thank you so much. An amazing plug-in. Does this always work for video clips that you have on SmugMug?
    Ken

  131. Also, sometimes when I click “Send to Editor”, nothing happens. Any suggestions?

  132. great plugin. But you know what would make this plugin ESSENTIAL for me, and many other photographers, is if you added facebook, twitter, and email buttons to the large previews of individual images. I wirelessly/ instantaneously upload images to smugmug as they are being shot and have clients viewing the gallery online as it is populated. It would be great to do this through my website and give clients the ability to share those images almost as instantly as they were shot.

  133. zad

    HI , thank you for your great plug-in. I’m having problem using it , because I got the following error:
    Fatal error: Call to undefined method WP_Error::__destruct() in wp-content/plugins/wp-smugmug/wp-smugmug.php on line 505
    Wordpress version is 3.5
    Any Idea?

  134. Jeff Steinmetz

    Love how easy the plug-in / short code works.
    One thing I have a question about is a “video” thumbnail.
    We have a smugmug gallery that also has video (smug mug now supports video).

    If there is a video in the gallery, WP-Smugmug returns an empty placeholder with no thumbnail and no link.
    If you view the RSS feed directly, there is a thumbnail for the video in the feed.
    Here is an example with all video thumbs as an rss feed

    feed://gallery.rockstarshots.com/hack/feed.mg?Type=gallery&Data=15518920_PpmBMQ&format=rss200

  135. Anne

    Hey, love the plugin. I was wondering if there was one more thing I could do with it.

    I’m currently using it to pull 9 photos into a display on a client’s site, but I’d love it if it could grab 9 random photos out of the Smugmug gallery in question instead of starting sequentially at photo #1. Is there any way to do that? For the record, I’m using the <?php echo do_shortcode call directly in the template instead of a an actual shortcode.

    Thanks in advance for any help!

  136. Zoe

    Does this plug-in work with private galleries? I’d like to be able to embed private galleries and prompt users for the password…

    Cheers

    1. No the plugin does not work with private galleries.

  137. Great plugin, been using it for years. Now upgrading to a responsive website. I would like the thumbnails to be a percent. Can’t get them to be other than 100×100 or 150×150. Any way to override those two options and make the width a percent and the height auto, or same as width?

    1. Brandon – been meaning to update the plugin, but haven’t had the time unfortunately. There’s no way to override those options at the moment.

  138. Already did it actually, just overrode it with CSS. Thanks bud!

  139. I am using WP-Smugmug All of the galleries are populating except the main page all subs are working. I want to include the main with the Smugmug home page content. Is that possible.

    1. Robert: I haven’t updated WP-SmugMug in a long time, and the company has changed a lot about its API. It’s certainly possible, but not with the current version of my plugin. It would require a complete rewrite of the plugin. There may be some other WordPress plugins that interface with SmugMug that do what you want.

  140. Is there a way to show multiple galleries with only that one shortcode you have?

    1. No, and I haven’t updated the code in a long time, so there’s no guarantees that it actually works with SmugMug and WordPress today.

  141. […] website pulls the most recent photos from the SmugMug website via the WP-SmugMug Plugin. As new photos are added the website is updated […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.