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?
I can't believe I found someone posting about this. I'm having the same issue, while not to the same extent maybe, but it's an annoyance nonetheless. It will be very helpful if someone could come up with an easier way of doing it.
1642867092
Kraynic
Pro
Sheet Author
I tend to use the original dimensions of the image (or very close).  To do that, you right click on the image and select "set dimensions" from the advanced menu.  You can set pixel dimensions (the default display), or you can change pixels to grid units and set the dimensions by units.
Kraynic said: I tend to use the original dimensions of the image (or very close).  To do that, you right click on the image and select "set dimensions" from the advanced menu.  You can set pixel dimensions (the default display), or you can change pixels to grid units and set the dimensions by units. Unless I'm missing something, the issue with this is that the relative dimensions aren't kept stable.  For example, I can increase pixel width (or unit / square width) but the functionality doesn't automatically increase pixel height.  So the image would be distorted from the original in some way.  (Yes, I could do math to help set dimensions, but that is also tedious.)  I'd love to just be able to click on the image and then Shift-Up Arrow or whatever to increase the size to close enough to what I need, then fine tune by dragging corners if necessary.
1642870417
Kraynic
Pro
Sheet Author
I meant that I generally just look at the properties of the file on my machine and plug the numbers in.  Or I know how many grid units the image is meant to fill and I plug in the unit numbers.  No math required.  I can do the same with a web image by inspecting it through the right click menu. If you want to push for an additional feature, you might consider posting in the suggestions forum where people can actually vote for it.
1642874922
Gold
Forum Champion
Correct, as it stands now in Roll20, for using the Advanced>Set Diminsions, you'd need to either "do math" to keep the Aspect Ratio (relative diminsions), or analyze the original image to find it's original native full size. There is a way to set up the Hotkey you're asking for, using Community created API Scripts.... Token-Mod API script will do this. Faramir17 said: Kraynic said: I tend to use the original dimensions of the image (or very close).  To do that, you right click on the image and select "set dimensions" from the advanced menu.  You can set pixel dimensions (the default display), or you can change pixels to grid units and set the dimensions by units. Unless I'm missing something, the issue with this is that the relative dimensions aren't kept stable.  For example, I can increase pixel width (or unit / square width) but the functionality doesn't automatically increase pixel height.  So the image would be distorted from the original in some way.  (Yes, I could do math to help set dimensions, but that is also tedious.)  I'd love to just be able to click on the image and then Shift-Up Arrow or whatever to increase the size to close enough to what I need, then fine tune by dragging corners if necessary.