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

Hotkeys to expand / contract image?

Are there any hotkeys to easily expand / contract an image? Example.... I'm setting up a battlemap.  I move a map image onto the page and initially it's pretty small.  I want to expand the image to fill up as much space as appropriate while also not changing the relative dimensions of the image.  Yes, I can do this by clicking the image and then dragging one of the corner points out to make the image larger.  However, this is massively annoying, especially when I'm zoomed out to look at the overall space.  And sometimes I'd want to shrink an image and I have to drag in using the corners.  This is slow and tedious.  Are there hotkeys that I don't know about that can accomplish this? I'll note that Powerpoint has this functionality.  Click on something in PPT, then hold down Shift and either up or down arrow and the selection will grow or shrink.  Can we get this in roll20, or is there something I'm missing? Note: I posted the above 10 months ago and the issue is ongoing and still massively annoying to me.
1671062341
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Faramir17! This could be sort of accomplished with an API script (it would have to be a chat button or macro), but there is no native function I know of to allow scaling with hotkeys. You can make a suggestion in the suggestion forum, but I haven't seen any similar requests that I remember. If you do make the suggestion, be sure to post the link to it back here for visibility.
I haven't come across such a hotkey combination either. If you find out about it, share it, I will be grateful
OK.&nbsp; Posted in the Suggestions forum.&nbsp; I have traditionally avoided APIs as being needlessly complex, but if there is a way to do it, I might be willing to try. <a href="https://app.roll20.net/forum/post/11233567/hotkeys-to-expand-slash-contract-image/?pageforid=11233567#post-11233567" rel="nofollow">https://app.roll20.net/forum/post/11233567/hotkeys-to-expand-slash-contract-image/?pageforid=11233567#post-11233567</a>
1671129570
Gold
Forum Champion
Could certainly do it with Token-Mod API(Mod) Not too-too much work. You wouldn't be coding the API script at all (it exists), you'd just need to "code" the macro that runs Token-Mod to do that. Such a macro has already been written &amp; answered by the script author, The Aaron, in some other thread on this Roll20 forum. I have seen this request accomplished before on here.&nbsp;