Mike Toppa
Forum Replies Created
-
Sorry I didn’t have a chance to look at it today, but it sounds like you’ve solved it.
Now I am seeing the error. Your “Dag 1” album thumbnail is causing a server error when I click it. But without access to the server I can’t see what the error is. Could you give me the Picasa (or Google+) URL for that album? Then I can add it to my copy of Shashin and I’ll try to create the same error. (You can email the URL to me if you don’t want to post it here).
I clicked the thumbnails for all 3 albums and each of them worked fine. I clicked through several of the photos in each album and they also were ok (I’m using Chrome). Is there still a problem…?
Happy to help. You can send me an email through my contact form: http://www.toppa.com/contact
You’re probably right that the social buttons still showing up in chrome is a caching issue. See here for how to force a reload http://superuser.com/questions/220179/how-can-i-do-a-cache-refresh-in-google-chrome
For the expanded image size, prettyPhoto tries to optimize the displayed size to fit in the available viewport (so it may be shown smaller than the size you specify in the Shashin settings). But the size you specify in Shashin is still loaded – you’ll see an icon in the top right to expand it to the full size.
For your album with 104 photos, I just tested with one of my albums that has 117 photos and it worked fine (I set the default max to 120, so they all appeared together). Can you give me a link so I can see the problem?
Hi – display of the social connect buttons in prettyPhoto is handled in javascript, not css. You’ll want to open shashin/public/display/shashin.js, and look for this, near the top of the file, and add “social_tools: false”, like I have here (don’t forget to also add a comma at the end of the previous line):
$("a[rel^='prettyPhoto']").prettyPhoto({ theme: shashinJs.prettyPhotoTheme, overlay_gallery: !!(shashinJs.prettyPhotoOverlayGallery-0), default_width: shashinJs.prettyPhotoDefaultWidth-0, default_height: shashinJs.prettyPhotoDefaultHeight-0, show_title: !!(shashinJs.prettyPhotoShowTitle-0), autoplay_slideshow: !!(shashinJs.prettyPhotoAutoplaySlideshow-0), slideshow: shashinJs.prettyPhotoSlideshow-0, social_tools: false });The same set of options is repeated further down in the file, at line 146, so you’ll want to make the same update there. I’ll remove the duplication in the next version of Shashin, and I’ve been thinking of adding this as a setting that can be managed on the Shashin settings page.
I’m afraid I don’t understand your second question – there is already a link to view the full-size version in the caption – do you mean something else?
Forum: Plugins
In reply to: [Shashin] [Plugin: Shashin] How to enable slideshow ?Looking at the source code of your page, I can see Shashin is loading the prettyPhoto files, but you’ve also got a slimbox plugin, and it looks like Shashin is using slimbox, not prettyPhoto.
If you look here you can see the automatic slideshow is working with prettyphoto and the albumphotos tag:
http://www.toppa.com/shashin-3-development-progress/#albumphotos
Try turning off your slimbox plugin and then see if it works. Are you using slimbox for something else?
Forum: Plugins
In reply to: [Shashin] [Plugin: Shashin] How to enable slideshow ?I think what you are looking for is the auto-play slidehsow option. Go to the Shashin settings page, then click the tab for PrettyPhoto Settings, and you’ll see it there.
Let me know if I’m misunderstanding the question.
Forum: Plugins
In reply to: [Shashin] Link random images in sidebar widget to postSorry, no – that would require some significant changes
Sorry for the late reply. I took a look at the code for that plugin. It appears to be taking control of the HTML editor, and replacing the toolbar with its own toolbar (which looks just like the original one). That’s why the P2P button doesn’t even show up. There really isn’t anything I can do about it from my end. I’m following the rules of the Quicktags API ( http://codex.wordpress.org/Quicktags_API ) but they seem to be completely bypassing it.
Forum: Plugins
In reply to: [Shashin] Bunch of errors after plugin activation…Actually, I’m just realizing that’s a really weird error. $_SESSION is a PHP global variable. I can’t imagine why it would be giving you an undefined error. Are you running some kind of customized PHP or WordPress setup?
Forum: Plugins
In reply to: [Shashin] Bunch of errors after plugin activationSorry for the late reply. Were you using the Highslide for Shashin add-on? That section of the code (around line 68 of ShashinWp.php) is intended to automatically deactivate it (as the new version of Shashin no longer supports it). It sounds like something is going wrong in your case. Please try deleting the Highslide for Shashin add-on if you have it. If that’s not the issue, let me know.
Sorry for the late reply.
1. Yes, I included javascript that’s meant to provide backwards compatibility for a really old version of Shashin, before it had the ability to dynamically load photos when you clicked an album thumbnail. You can use this to accomplish what you’re describing. For example, you can view my album thumbnails here:
http://www.toppa.com/photo-albums/
If you include a query string in the link with the album ID, it will automatically open the photos for the specified album (and hide the other album thumbnails). Like this:
http://www.toppa.com/photo-albums/?shashin_album_key=82
On the Shashin Tools page, look for the Album ID column to get the numbers for your albums.
2. You can control what’s shown in the photo captions through CSS. If you open shashin/public/display/shashin.css you can make the appropriate changes there (e.g. by adding “display:none;” to the appropriate classes). The class names are self-explanatory. See here for more info: http://www.toppa.com/shashin-wordpress-plugin/#stylesheets
3. The auto-update synchronizes the albums you’ve previously added to Shashin, but does not automatically add new albums. Adding this feature is on the to do list https://github.com/toppa/Shashin/issues/44 — but to honest, I’m not sure when I will get to it.
Forum: Plugins
In reply to: [Shashin] Photo viewersSorry for the late reply. I originally developed Shashin to work with Highslide, which was the best photo viewer back then (2006!). I eventually had to remove Highslide because its license conflicts with the GPL (which means it’s not allowed in the wordpress.org plugin repository). At that point I switched to Fancybox v1, which was the only decent GPL compatible photo viewer I could find (v2 is not GPL compatible). But it had limitations which required me to do a lot of extra work (mainly technical issues with videos, and it’s inability to follow redirects, which Twitpic uses). PrettyPhoto switched to being GPL compatible recently, and its more robust than Fancybox v1, so I switched again (but Fancybox is still included as an option).
I’ve fiddled with other viewers but those are the only 3 I’ve tested extensively, so I don’t have any other favorites.
Setting up another viewer is pretty straightforward -just follow the instructions on the Shashin settings page under the “other viewer settings” tab. There is one limitation though – some extra custom javascript would be needed to make it work if you want to use it for viewing album photos (i.e. using the shortcode for displaying album thumbnails, and then clicking the thumbnail to view the album’s photos). If there’s a viewer you want to try for this, let me know and I can help.
Do you mean this plugin?
http://wordpress.org/extend/plugins/syntax-highlighter/installation/
And are you saying Extensible HTML Editor Buttons doesn’t work with it, or are you looking for new features…?