Skip to content

Instantly share code, notes, and snippets.

@leobossmann
leobossmann / extract.js
Created December 6, 2016 15:54
Extract and rename images from Pixieset
var imgs = new Array;
// replace all images by the xxl version
$('li > img').each(function(i, item){
var new_src = $(item).prop('src').replace('large', 'xxlarge');
$(item).prop('src', new_src);
imgs.push($(item));
});
// kill everything on page
$('body').empty();