Shashin 3.0.4 and Toppa Plugin Libraries 1.1

Update 11/21: I’ve upload Shashin 3.0.5, which fixes this issue, reported in the forums

I uploaded two updates to last night – one for Post to Post Links II error: No post found with slug "shashin-wordpress-plugin" and one for Post to Post Links II error: No post found with slug "toppa-plugin-libraries-for-wordpress". They address a couple bugs in Shashin:

  • Automatic photo cropping is now done when appropriate when parsing the old Shashin shortcode format
  • At least a few people have had problems with showing album photos when clicking an album thumbnail. In some cases this was being caused by how I was detecting whether to use http or https for AJAX calls. This is fixed now.

Another cause of the album thumbnail clicks not working is the jQuery form validation plugin. This plugin comes with the Arras theme. I’m still investigating why (there are no forms in Shashin, so offhand I don’t know why there would be a conflict). If you want to temporarily disable the form validation in Arras, go to line 46 in its header.php file and comment it out, like this:

//wp_enqueue_script('jquery-validate', get_template_directory_uri() . '/js/jquery.validate.min.js', 'jquery', null, false);

The Toppa Plugin Libraries update also include a new class for simplifying management of plugin settings (for any plugin that wants to use it). I’ll document it shortly.

Please use the comments section of this post to report any other issues.


  1. B Brickhouse November 19, 2011

    Hi. For some reason, I am having a heck of a time installing Shashin 3.0.4.

    I’m installing it on WordPress 3.2.1. I install/activate the ‘Toppa Plugins Library for WordPress’ first and that goes smoothly. I then install/activate Shashin 3.0.4, and that also appears to go smoothly. However I get the error “Invalid data property __get for supportOldShortcodes” when navigating to the Settings->Shashin page. I also noticed that the wp_shashin_album table and (I forget the name of the other table) were not created in the wordpress database. I was expecting to see them after I activated Shashin. I’ve uninstalled and reinstalled shashin, toppa plugin lib, and the entire wordpress directory (I saved off a copy before installing Shashin for the first time) and the result is always the same.

    Any ideas or suggestions to try?

    Note: I did have a previous version of Shashin (2.x, I believe) installed at one point, but I uninstalled it before trying the Shashin 3.0.4 installation.


  2. Mike November 20, 2011

    Hi Bob – that’s weird. I just did a clean install of both plugins on my test site, just to make sure things are ok in the code, and it went smoothly. That error you’re getting on the settings page means the Shashin settings aren’t even being saved when you activate.

    If you are familiar with using FTP, and you don’t mind installing my SimpleTest for WordPress plugin, I can email you my integration tests for installing Shashin (you would need to FTP the test file into your Shashin folder). These tests will step through actually creating the Shashin tables and saving the settings, and should let us know where the installation is failing.

    Let me know if you’d like to try that and I’ll email the test file to you.

    • Bob Brickhouse November 20, 2011

      That would be great. Thanks for the help.

      I am comfortable with FTP, I also have direct access to the server, in case that helps.

      I’ll go ahead and install he SimpleTest plugin.


  3. Scott November 21, 2011

    Hi Mike,

    Just curious if you still plan to have unlisted galleries, where all you need is the authkey, working in Sashin.


    • Mike November 22, 2011

      Hi Scott – yes, I still plan to add that. Right now I’m mainly dealing with support requests. Once that settles down I can get back to adding features.

      • Scott November 22, 2011

        Thanks Mike!

  4. NintendoGal November 21, 2011


    Throughout the updates, when I turn on support for the old code, my old galleries all have this error:

    uploaded_timestamp is not a valid value for: order

    Really hoping I don’t have to manually go back and edit all those galleries. >_<

    Thanks for reading this!

    • Mike November 22, 2011

      Hi – sorry, I overlooked including handling for uploaded_timestamp. I’ll aim to have a fix available by the end of the week. Thanks for letting me know.

      • NintendoGal November 24, 2011

        Thanks for fixing that, however now I get another error:

        Shashin Error: uploaded is not a valid value for: order

        Not sure what that means either.

        • Mike November 25, 2011

          Hi – could you copy and paste the shortcode into a comment here? I’d like to test exactly how you’re using it.

          • NintendoGal November 26, 2011

            Sorry for the delay:


            (I also donated because, unlike other plugin authors, you actually respond to comments on your site. Thank you!)

          • Mike November 28, 2011

            Hi – thanks for providing the shortcode. I found the problem. I just uploaded version 3.0.7, which should get this working for you.

            You mentioned a donation, which I appreciate, but I don’t see one in my Paypal account- maybe it didn’t go through?

  5. Stephen Cousins November 22, 2011

    Hi Mike

    Thanks for the jquery temp fix. It has worked for me.


  6. Marcos November 22, 2011

    Hi Mike!

    Fisrt of all, thanks for the shashin, its a wonderful plugin!

    Today I did the new version update. Unfortunatelly I’ve noticed that the “return” button of my albuns are not working anymore. The “previous” and “next” are fine. What should I do to fiz it?

    thank you from Brazil.

    • Mike November 22, 2011

      Hi Marcos – can you give me a link to your site, so I can take a look? If you don’t want the link here in the comments, you can email it to me through my contact form.

  7. Jared Hanen November 22, 2011

    Hi, i am really enjoying your plugin. So far I´ve found it very useful and flexible. But there is something I don´t understand. In the frontpage I do have all the albums, and when I click one, all the photos appears. But there is only 18, as I think is some default value, Is it possible to adjust that value? The other thing, in highlight, it is a good thing that you can click next, to simply go next. But it goes only through those 18 pictures, not to the next page, if i got more than 18 pics. I think it is more usefull that it continue to the next page.


  8. Mike November 23, 2011

    H(i Jared – you can adjust the number of photos shown on the Shashin settings menu. Look for the setting “Default maximum number of photos to show”

    I’m not sure what you’re saying about the “next” link – I went to your site and the “next” link seems to be working ok, taking you to the next 18 pictures in the album. (I did accidentally break the “return” link in the newest release – I’m working on fixing that)

  9. Evan November 24, 2011

    Is the 2.0 version of this awesome plugin around anywhere? I use the plugin to maintain a private family site, and I made the mistake of not reading the release notes prior to upgrading. Because support for private albums was removed, my site was broken, so I’d like to move back to the 2.0 build. Thanks for any help.

    • Mike November 25, 2011

      Hi Evan – I will email a copy of version 2.6.3 to you.

  10. Ying November 24, 2011


    Thanks for the plugin and the fast updates. I have updated to shashin 3, got the new shortcodes, etc.

    Before 3.0.5. I had the problem with not showing album photos when clicking an album thumbnail.

    3.0.5 seems to fix this problem. But like Marcos above I found the “Return” button doesn’t work.

    3.0.6 fixes the “Return” button. I was quite happy so I tried to import some new albums and sync it again. This broke it 🙁 and I am back to not showing album photos when clicking an album thumbnail.

    I run two websites with very similar plugins and set up so you can compare the effects: (updated to 3.0.6, not synced, WORKING) (updated to 3.0.6, synced, BROKEN)

    • Mike November 25, 2011

      Hi Ying – that’s strange. I’m not sure why that’s happening on that site. Could you go the Shashin Tools menu for the site, and click one of the album titles? This should then show you all the photos in the album. I want to make sure the photos are actually there. That will give me a clue if it’s a syncing problem, or a display problem with the album thumbnails.

      • Ying November 27, 2011

        I have checked the Shashin Tools menu and the photos do appear when I click on the album title.

        • Mike November 28, 2011

          Hi Ying – it looks like you are running a google analytics plugin on that site. Could you try temporarily turning it off and see if that helps? Some of the analytics plugins overwrite the javascript Shashin uses in its links

  11. Jared Hanen November 25, 2011

    Hi, what I ment was not that the Next link doesnt work. But when I click on picture, it is highlightend and i am able to use my arrows on the keyboard to see the next one and the next one. But it does not go on to the next page in the same album. See?


    • Mike November 25, 2011

      Hi Jared, sorry, it’s not designed to do that. I would have to makes changes to the Highslide code to do something like that, and that would be a major undertaking.

  12. Chelsea November 27, 2011

    Hi Mike!

    Not sure if my previous comment posted, so just in case I’m posting again. I’ve been using Shashin for a while with great success, but I just updated to the latest version, and not all of the source code for all of my images on previous blog posts are not showing images. It just shows the old source code where the image should be. ([simage=1185,512,n,center,], etc)
    You can see what I mean if you go to my site:

    Please help!! What did I do wrong?

  13. Chelsea November 27, 2011

    Nevermind! I figured it out! Thank you anyways!

  14. Andrew November 28, 2011

    First of all, thank you for a great plugin! When I upgraded from version 2 to 3 I cannot seem to get the control bar in Highslide to appear below (outside) tihe image. Is this possible?

  15. Mike November 28, 2011

    Hi Andrew – the options in version 3 are the same as version 2 – to position it at the top, middle, or bottom. Highslide does actually allow for outside the thumbnail, but I don’t think I ever included that option in Shashin.

    I can try adding the options for the outside positions in the next version of Shashin. But if you don’t want to wait and you’re handy with javascript you can override the settings yourself:

    • Andrew November 29, 2011

      Great! Thank you Mike for such a quick response!

  16. NintendoGal November 28, 2011

    It wasn’t via this e-mail but my husband’s, anmghstnet 🙂

    And thanks for the update, works perfectly once again! 😀

  17. erti bimbashi November 28, 2011


    Thank you for the great plugin. I would like to add my albums from Picasa to the sidebar. However, i’d rather:

    1) have the albums open directly on highslide slideshow without opening all the pic thumbnails on the sidebar (200+ pics/album).
    2) remove any links to the original picture in picasa.

    Can you please point me to the right direction, on how i can do that?

    thank you very much, and fantastic work.


    • Mike November 30, 2011

      Hi Erti:

      1. I’m planning to add support for Highslide’s thumbstrips, which will let you do this

      2. I include the link to Picasa to acknowledge the service (and for Twitpic, it’s required as part of their usage policy). To remove it, you will need to edit code. You’ll want to comment out line 63 in the file shashin/Public/ShashinPhotoDisplayer.php, like this:

      // $highslideCaption .= $this->formatOriginalPhotoLinkForHighslideCaption();
  18. Jason Wiser November 30, 2011

    I too was having trouble with 3.0.7. I would click on the album, and it would just go to a blank page. It would not load the photos in the album. I started to turn on and off all plugins, and found that digg digg has a conflict. But i turned digg digg back on and now all is working just fine. Also i tried my other cpu, and yes all is well. Just an FYI. maybe an anomaly, maybe helpful.

  19. Bob Thompson December 1, 2011

    Hi Mike – Thanks for Shashin!

    I am in process of installing. It seems everything is fine. sql database is there, I can select pics fine, shortcode appears in the post fine, but in wordpress, I keep getting this:

    Shashin Error:

    "35,27" is not a valid string of numbers

    Those id’s are there, but they are apparently not being found. I have tried to double check everything, but, at this point, I find myself stumped. I feel I’m missing something very simple.

    Thanks in advance for any suggestions for me.



    • Bob Thompson December 1, 2011

      Sorry Mike – False alarm. I kept plugging and figured it out.

      Another plug-in I was using, “CKeditor”, was adding some characters around the Shashin shortcode. I turned it off and it now works fine. Thanks.

  20. Bart December 2, 2011


    I would like to know how to avoid black border around pictures?

    Thansk for the plugIn

  21. Philip December 3, 2011

    Hello Mike,

    I appreciate all the hard work you put in just to make my clients photos look good.

    My issue is with the Sidebar Widget. I can’t seem to get that working. I checked your User Guide, but I still don’t get it.


    • Mike December 4, 2011

      Hi Philip – tell me what you want to see in the sidebar, and I can advise you on the settings for it.

  22. Philip December 4, 2011

    Hey Mike,

    Thanks for responding.
    I want to see a preview of my albums in a Sidebar with 4-6 images.
    When hovered over a tool-tip shows album info. Clicking takes you to that specific album. Hop this makes sense.

    Thank you!

    • Mike December 7, 2011

      Hi Philip – I’ll add this in the next version, using Highslide thumbstrips. Right now the widget supports individual photos only, as there’s typically not enough room in a sidebar to browse albums

Comments are Disabled