Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // When triggered, adds a small image before other images that represents the full-size image.
- // Drag-and-drop it, right-click and save, or click to open.
- javascript:$("img.viewImage, img.currentImage, img.space, img[id^=galleryImg], img[class^=browseListImage], .gallery-photo img").each(function() { var newSrc = this.src.replace(/[fs]images\/(\d+).*/, 'simages/$1_0_9-.jpg').replace(/_\d-/,'_16-'); $(this).parents("a").andSelf().first().before("<a href='"+newSrc+"'><img src='"+newSrc+"' width=50></a>") })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement