From fb9e9d426c6682ca48c7d06cc99bb934daec4cfa Mon Sep 17 00:00:00 2001 From: GrosPoulet Date: Thu, 10 Sep 2020 20:20:20 +0200 Subject: [PATCH] Update plug-in : Spinchat --- plugins/spinchat.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/plugins/spinchat.js b/plugins/spinchat.js index f1099db25..3dd6eba4f 100644 --- a/plugins/spinchat.js +++ b/plugins/spinchat.js @@ -1,14 +1,22 @@ var hoverZoomPlugins = hoverZoomPlugins || []; hoverZoomPlugins.push({ name:'Spinchat', - version:'0.1', + version:'0.2', prepareImgLinks:function (callback) { var res = []; + hoverZoom.urlReplace(res, 'img[src*="/mini/"]', '/mini/', '/full/' ); - callback($(res)); + + hoverZoom.urlReplace(res, + 'img[src]', + '/image/1/0/user/', + '/user/full/' + ); + + callback($(res), this.name); } });