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

Getting page images to stay put?

Hi. When I have put a map down on a campaign page, and expand it as far as possible, it will most often than not have moved a bit when I leave and return.  Any tips on getting a page to stay still?
1653105803
Andrew R.
Pro
Sheet Author
You can use the Token Lock feature on map images too. I do it all the time, but I snap maps to the grid and then turn the grid off.
1653969964

Edited 1653971455
Thanks. I'll try that for some troublesome maps. But I was wondering if there was a way to just have a page stay in the same view when you leave and come back. Like some pages I just put a few images on (usually as tokens). For example several images of a character who was involved in a fashion show in different outfits. But the entire page has moved when anybody goes to it. You know, it has scrolled down or up. The page itself, not any maps or images. Can you get the entire page (with images on it or not) to just say put how you leave it? Or is the view of it when you open the page more reliant on the things you put into it?  Sorry if that is confusing. Still a bit of a noob.  Edit: I just went back into the game, and that page in question (though all my pages do it) has not only scrolled down a bit by itself, but also went from 50% view to 100% view without me doing anything. So its the page itself that has a mind of its own. And my players will always find the pages a bit off as well when then go in. Dang, frustrating :(
1653972398
Andrew R.
Pro
Sheet Author
I don't know of a way of doing that off the top of my head, but it wouldn't surprise me if there's an API script to do it. I just couldn't find it with a quick search of the Wiki. 
1654007358
Kraynic
Pro
Sheet Author
The page is separate from the vtt UI.  This means that if you change zoom and location on one map page, the UI is set to that zoom and that location.   When you switch map pages, the UI will be using whatever zoom you have set and will attempt to go to that same position if it is available on the new page.  If you leave a game and then log back in, the UI will return to the default setting.  The top of the map page will always be at the top of the screen when re-entering a game (I didn't test a map page below 10 cells), but the position of the left edge will vary based on how wide the page is.  If it is wider than your screen, then the left edge will be up against the left edge of the UI.
1654018625
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
If your intent is to direct players to a starting point of the map, there is also this script (by Nick Olivo?) Place a token on the GM layer called "PlayerStart". Whenever any player loads that page, they will be ping-pulled to that point. It doesn't solve your zoom issue, but it's a handy script for managing the player view at any rate. on("ready",function(){     on("change:campaign:playerpageid",function(){         setTimeout(function(){             pingStartToken();         },1500);     });          on("chat:message",function(msg){         if(msg.type=="api" && msg.content.indexOf("!pingStart")==0){             pingStartToken();         }     });          function pingStartToken(){         var tokens = findObjs({             _name:"PlayerStart",             _type:"graphic",             _pageid:Campaign().get("playerpageid")         });         var playerStartToken = tokens[0];         if (playerStartToken===undefined){             return;         }         sendPing(playerStartToken.get("left"),playerStartToken.get("top"),playerStartToken.get("pageid"),"",true);     } });
Thanks. Pretty scared of scripts haha, but I might try that. For some of my other players who are also DMs, they don't seem to have a problem, so I will reach out there as well.