﻿var hoverZoomPlugins = hoverZoomPlugins || [];
hoverZoomPlugins.push( {
    name: 'Weibo',
    version: '0.1',
    prepareImgLinks: function(callback) {
        var res = [];
        hoverZoom.urlReplace(res,
            'img[src*="sinaimg.cn/thumbnail/"]',
            /thumbnail\/([0-9a-z]+)\.jpg/,
            'large/$1.jpg'
        );
        hoverZoom.urlReplace(res,
            'img[src*="sinaimg.cn"]',
            /50/,
            '180'
        );
        hoverZoom.urlReplace(res,
            'img[src*="thumbnail"]',
            /thumbnail/,
            'bmiddle'
        );
        callback($(res));
    }
});

﻿var hoverZoomPlugins = hoverZoomPlugins || [];
hoverZoomPlugins.push( {
    name: 'Weibo',
    version: '1.0',
    prepareImgLinks: function(callback) {
        var res = [];

        hoverZoom.urlReplace(res,
            'img[src]',
            /\/thumb\d+\//,
            '/large/'
        );

        hoverZoom.urlReplace(res,
            'img[src]',
            /\/(orj|mw)\d+\//,
            '/large/'
        );

        hoverZoom.urlReplace(res,
            'img[src]',
            /\/crop.*\//,
            '/large/'
        );

        hoverZoom.urlReplace(res,
            'img[src]',
            /\/square.*\//,
            '//'
        );

        callback($(res), this.name);
    }
});

Update for plug-in : Weibo