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

How to auto-zoom-to-fit on page load?

Hi, Is there a way I can get a page to "zoom to fit" automatically when a page loads for the players? (My initial page that opens when you launch the game is supposed to be a landing page that shows a bunch of info like a bulletin board... but it auto loads at  100% and for some reason, 100% displays zoomed in real close on the image being used on the map layer. (I hope that made sense.)) Thanks!
1754355429

Edited 1754355636
Gold
Forum Champion
Hi Deirdre. No, and it's pretty confusing now, because it will Load in a different location and zoom for each Player, and different for the GM. Roll20 introduced a new feature a few months ago that changed the behavior to what it is now.  The intent of the new feature is to automatically zoom & pan to the Location of Tokens that are controlled by you (can be different for each person loading).  What to expect depends on --- do your Players have tokens that they control, on the Page?  If you have no Tokens that are Controlled By.... on the page at all, then I think you get what you described: Loads at 100% zoom at the Center of page.  Someone came up with a trick workaround way to manipulate it. Put a Token that is Controlled by All Players at the Top-Left corner of your Page, and at the bottom-right corner of your Page. (Or just outside the play area, in the hidden backdrop area, near those corners). This should cause the Page to load with roughly the full page showing (since it will load, following the Feature, zoomed-out wide enough for All Players to have both corner tokens within their view panel). 
Gold said: [...] Someone came up with a trick workaround way to manipulate it....  Pretty clever! Thanks! :D 
1754360092
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Gold said: Someone came up with a trick workaround way to manipulate it. Put a Token that is Controlled by All Players at the Top-Left corner of your Page, and at the bottom-right corner of your Page. (Or just outside the play area, in the hidden backdrop area, near those corners). This should cause the Page to load with roughly the full page showing (since it will load, following the Feature, zoomed-out wide enough for All Players to have both corner tokens within their view panel).  I think that was me. And thanks for reminding me. That would be a nice feature to add to the Director script.
1755109938
Gold
Forum Champion
As of today, There is a new Roll20 Feature that affects this, called Party Tools, Party Members,&nbsp; <a href="https://app.roll20.net/forum/post/12465889/gm-time-save-alert-party-tools-are-here" rel="nofollow">https://app.roll20.net/forum/post/12465889/gm-time-save-alert-party-tools-are-here</a> Announcement Link describes it