Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Download images from my game

Hi  I am having a similar issue to a previous poster on the same topic - downloading images in my library back to my laptop. That topic was closed, but the answer in it does not work. When I go into my library and right click I do not get a 'Save Image' normal pop-up menu I get a js menu from roll20 which has such things as 'select all' etc. So in my case the question still stands - how do I get images I have previously uploaded back? Thanks
1497109672
The Aaron
Pro
API Scripter
I've got an option for you. Here is a bookmarklet that will work with the Recent Uploads Dialog: javascript:(function(){ var links=$('#libraryview .library-container').map(function(idx,block){ var $block=$(block), img=$block.find('img'),name=$block.find('.library-labelcontainer span').text(), ext = img.attr('src').match(/\b(?:thumb|max|original)\b\.(\w*)/)[1]; return $('<a style="border:1px solid #999;float:left;display:block;width:52px;height:52px;" href="'+img.attr('src').replace(/\b(?:thumb|max)\b/,'original')+'" download="'+name+'.'+ext+'"><img class="UserLibraryImage" style="max-width:50px;max-height:50px;" src="'+img.attr('src').replace(/\b(?:thumb|max)\b/,'original')+'"></a>').click(function(){$(this).css('opacity',0.5);});}).toArray(); $('<div style="position:absolute;width:100%;height:100%;overflow-y:auto;top:0;left0;z-index:1000000;background-color: #ccc;"></div>').html(links).appendTo('body');}()); In chrome, make a bookmark with that as the link named something like "User Library Image Download Helper". In one of your games, Click a recent upload image (1), to open the Recent Uploads Dialog (2), then scroll down until it's done loading images (3): Once you don't see the "Loading Recent Uploads..." thing, select that created bookmark.  It will then build a grid of all your user library images.  This might take a few minutes, as the thumbnail sized images are really the full size originals.   Each of those is a clickable link to the original image.  When I originally wrote a version of this for the external user library, you could click each one and download the image easily.  That wasn't working for me in latest chrome in this version, so you might have to right click and download each image (clicking the image will grey it out, so you can use that to keep your place.  Unfortunately, they'll all be named original something, so you'll have to rename as you go or not worry about the name.  YMMV. Hope that helps!
1497113462
vÍnce
Pro
Sheet Author
Added to:  Aaron's Roll20 Enhancement pack ;-)
1497115791
The Aaron
Pro
API Scripter
Hehehehe.. wondered how long that would take... =D
@ The Aaron And there we see Arthur C Clarke's Third law in action!!! That is as close to magic as I have ever come in real life My very heartfelt thanks!!
1497133421
The Aaron
Pro
API Scripter
=D  All Arcane Scriptomancy is just sufficiently advanced technology! =D