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

Size of loaded images

It's been a while since I created a campaign and loaded images and a lot of the engine has changed. I'm currently preparing a Call of Cthulhu campaign in jumpgate but I don't think the issue I'm experiencing is a jumpgate issue since I can reproduce it in a legacy game. Here's the situation: I'm on a Mac (if that matters) and I get maps in a number of different ways: downloading from a website, taking a screenshot of an image from a pdf or other source, using Cut to copy an image from a pdf or other source, loading it into preview and exporting it as a jpg... all sorts of different ways to get the image into a jpg so I can load it into Roll20. When I look at the size info in Preview it always shows the correct size of the image. BUT, when I upload the image into my Roll20 library, the size *always* shows up as a 1x1 (HeightxWidth) image. I then have to resize it to the correct size to use it as a map. Does anyone know why this is happening and how to fix the image (or the load) so that it loads properly at the correct size?
1716828220
Gold
Forum Champion
I haven't found a consistent way, that's a sure thing... It's really a long-standing mystery of Roll20, that has changed a few times over the years, and still isn't dependable.  Always try holding down OPTION-key(Mac, also called ALT key) when moving an image onto the map canvas. It's supposed to ignore the grid, and should avoid smooshing your image's aspect-ratio (but doesn't always work).  Try to upload by Drag-and-Drop a file from your computer direclty onto the Roll20 map canvas, this will sometimes will give a properly full-size 100% scale image. It's been easier to get the original size image in this way, than by dragging a pre-loaded image from My Library. Maybe try dropping your image on Map Layer. Maybe try dropping your image with the Grid turned off.  Unclear if those techniques will actually help.  Remember to Type the image pixel diminsions into the original File Name if possible, that way if you need to use Roll20 > Right Click > Advanced > Set Diminsions, you have the reference pixel size numbers that you will need to type in manually, such as:  such as Castle-Map-1600x1200-version9.PNG 
First of all on a PC not Mac so this may not apply. Not saying this is the case, but I know I have done it myself a few times, make sure you are on the map layer before adding the map image.  If on another layer it will auto default to a 1x1 token size.  As Gold mentioned, I find it helpful to drag and drop it from my computer into roll20 while on the map layer, as it usually pops up to ask about resizing the image (see below).
Neither of you understood what I'm talking about.  The image that gets uploaded to the library, using the "upload" button, uploads as a 1x1 image. It makes no difference how I move it onto the map layer - it's still a 1x1 image and the auto-adjust doesn't kick in. How do I keep the images from uploading as 1x1 images to Roll20. They are not 1x1 outside of Roll20, only "inside".
1716851464
Gauss
Forum Champion
Hi Saul,  There is basically no method for automatically controlling the size of an image in the art library.  Once it is uploaded you may right click on it and then put the dimensions in via resize.  Alternately, if you'd like to remember it's dimensions put the dimensions in the name of the image. 
It used to work just fine until they started fiddling with the engine. An image that was XxY in the OS would load into Roll20 as an image at the same approximate size (that is, if the image was 35.4 x36.9 it would round to 35x37). I KNOW this worked - I used it all the time when I was preparing my last campaign. The problem is that now, when I load an image into the library, it ALWAYS loads as a TOKEN of 1x1, not as an image/map.  Gauss said: Hi Saul,  There is basically no method for automatically controlling the size of an image in the art library.  Once it is uploaded you may right click on it and then put the dimensions in via resize.  Alternately, if you'd like to remember it's dimensions put the dimensions in the name of the image. 
1716914096
Gauss
Forum Champion
In that case I suggest filing a bug report with the Devs via the Help Center .  Note: my comment was for directly uploading to the art library. I don't remember it having the behavior you indicate but I could be mistaken. 
1716918906
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hey Saul! Perhaps if you gave some specific steps to repro, we could verify. As it is, I cannot duplicate from my understanding of the problem. As an aside, Roll20 has not ever rounded or used grid squares as the default for uploaded images*. Grid squares are not embedded into a file in any meaningful way. Roll20 reacts to uploaded files as if 70 pixels = 1 grid square. If I place an image from my library onto a map layer, it asks to resize the page to those specs. Note: If you are getting the "1x1" information by right clicking on an image and choosing "Resize Item", it is always going to default to displaying 1x1, because it does not know the resolution of the original. It could be 100 pixels to the grid, or 64.8 pixels to the grid. If you drag such an image to the map layer, it will attempt to size it as if it were 70 pixels to the grid. If you set a specific number of grid cells with the right click on the listing, it will use those specs instead. It should not use "1x1" grid cells for actual placement unless you have actually edited the image. *Marketplace images have included this data for many years now, and should come in filling the correct number of grid squares if correctly uploaded by the creator, regardless of the image's pixels/grid cell resolution.
1717004469

Edited 1717004606
Gold
Forum Champion
Saul J. said: Neither of you understood what I'm talking about.  The image that gets uploaded to the library, using the "upload" button, uploads as a 1x1 image. It makes no difference how I move it onto the map layer - it's still a 1x1 image and the auto-adjust doesn't kick in. How do I keep the images from uploading as 1x1 images to Roll20. They are not 1x1 outside of Roll20, only "inside". I do not think it Uploads as a 1x1 image. Haven't ever heard a report of that on Roll20 before.  It sounds like it is dragging-out from your Art Library and displaying as a 1x1 image on the gridded tabletop canvas, which is an issue I run into a lot on here too.  This is in the area of how Roll20 displays graphic objects when they are placed on the tabletop.  The full size image exists in your Library. Of course also in this case, I still believe my prior reply is applicable, but not a solution. 
I have found a reasonable work-around for the problem I'm having. Instead of using the "Upload" button to upload the maps, I'm dragging the image directly from the Mac onto the page. This not just uploads the file in its original size but also triggers the process where Roll20 asks if I want to resize the page or the image. This saves me a lot of effort.