First off, thanks for the great mod.
I installed it on my custom theme, then the hair pulling began. I noticed that the js vars were updating properly, but the bubble would not. My issue, the theme I am using already had a bg.png file, so I altered the array and made bg.png bg1.png and re-uploaded the file with the new name.
Still, I would see the incorrect image and on top of that it was not switching the service.
So one thing at a time, I took a look in the sitepreview.js and the first line is:
var bubbleImagePath = smf_images_url + '/bg.png';
Well there is the image problem, we are setting a var in index.template that isn't even being used, I updated that to be:
var bubbleImagePath = smf_sitepreview_bubble;
Not it uses the correct image. Next issue, not changing the source of the preview. Around line 128 of the sitepreview.js:
img.setAttribute("src","http://images.websnapr.com/?size=S&url="+_d);
so I updated that line to:
img.setAttribute("src",smf_sitepreview_serviceurl+_d);
Everything works great now. Maybe this is already resolved? I got the package from thw SMF site, version 131.
Thanks again and I hope this helps anyone else seeing the same issues.