Garry's Mod

Garry's Mod

Image Tool - Your pictures in the world!
 This topic has been pinned, so it's probably important
Selenter  [developer] 17 Dec, 2021 @ 10:59am
Errors and problems
Write here all the troubles you encountered while using this addon. This may be due to "something is creating script errors" or your picture not working.
We will try to help everyone.
< >
Showing 1-15 of 33 comments
msmr 17 Dec, 2021 @ 11:35pm 
[Image Tool - Your pictures in the world!] lua/imagetool/sv_image.lua:101: bad argument #1 to 'min' (number expected, got no value)
1. min - [C]:-1
2. RemoveImage - lua/imagetool/sv_image.lua:101
3. RightClick - lua/weapons/gmod_tool/stools/imagetool.lua:64
4. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:239
Selenter  [developer] 18 Dec, 2021 @ 3:02am 
Originally posted by msmr:
[Image Tool - Your pictures in the world!] lua/imagetool/sv_image.lua:101: bad argument #1 to 'min' (number expected, got no value)
1. min - [C]:-1
2. RemoveImage - lua/imagetool/sv_image.lua:101
3. RightClick - lua/weapons/gmod_tool/stools/imagetool.lua:64
4. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:239

Хм... интересная ошибка. Сегодня чуть попозже исправлю. Можете дать нам немного больше информации, о том, что вызвало данную ошибку? Она начала появляться после нескольких определенных действий, или вы просто решили удалить картинку и она появилась?
Selenter  [developer] 18 Dec, 2021 @ 4:15am 
Исправил, больше данной ошибки возникать не должно.
msmr 18 Dec, 2021 @ 4:26am 
Пасиба, мужик) :steamthis:
wawanator 21 Dec, 2021 @ 3:34am 
Impossible to delete big decals and stays on the map forever
Selenter  [developer] 21 Dec, 2021 @ 3:50am 
Originally posted by wawanator:
Impossible to delete big decals and stays on the map forever

To remove a picture, you must click on the place where you put it. In your case, this will be the upper left part of the picture.

This is due to the fact that this picture is not an Entity, and is shown visually for the players. It doesn't exist on the server.
Crack Potter 22 Dec, 2021 @ 1:06pm 
Either im dumb or just unlucky

It doesnt matter how hard i try the picture wont load always just showing its downloading even after 10 min
Does it only work in multiplayer ?
Selenter  [developer] 22 Dec, 2021 @ 2:03pm 
Originally posted by Crack Potter:
Either im dumb or just unlucky

It doesnt matter how hard i try the picture wont load always just showing its downloading even after 10 min
Does it only work in multiplayer ?

The picture works regardless of the set mode (Single/Multiplayer).
Picture should be loaded within 2-3 seconds. If it takes more than 10 seconds, then double-check your link that you indicate. We recommend that you use pictures that are published through Discord or Imgur.

Pictures must have the ".png | .jpg | .jfif" extension at the end. Or have the format image/png | image/jpeg

An example of a good link:
Imgur: https://i.imgur.com/4vyQ6Hl.png
Discord: https://media.discordapp.net/attachments/518844061017309186/923334397200048138/4vyQ6Hl.png
maurice gaming 24 Dec, 2021 @ 10:48pm 
this addon is awesome, and it is so fun to use. however i went into a map and placed a picture, and for the life of me i cant delete it, I've tried going around the border with right click, clicking on it from underneath the map, and its in a pretty distruptive place, maybe it would be a good idea to have a, "clear all images on map" button?

thank you for making something so useful by the way, this is awesome for screenshots with 2D characters.
Selenter  [developer] 25 Dec, 2021 @ 7:07am 
Originally posted by maurice gaming:
this addon is awesome, and it is so fun to use. however i went into a map and placed a picture, and for the life of me i cant delete it, I've tried going around the border with right click, clicking on it from underneath the map, and its in a pretty distruptive place, maybe it would be a good idea to have a, "clear all images on map" button?

thank you for making something so useful by the way, this is awesome for screenshots with 2D characters.

Thank you very much for your feedback!

To delete an image, click exactly in the same place where you put this picture (it is always the top left corner of the image).

About the button that will clear all the pictures on the map. This is a good idea, but at the moment I don’t have time to implement it. For now, you can use the file deletion in the config. He is in: garrysmod/data/imagetool/config.txt
Duc 20 Jan, 2022 @ 4:24pm 
Images don't seem to appear after spawning them, instead creating lua errors. More Information:

When I launch Gmod I get this lua error:

lua/imagetool/sv_hooks.lua:20: attempt to index local 'config' (a nil value)
1. v - lua/imagetool/sv_hooks.lua:20
2. unknown - lua/includes/modules/hook.lua:96

Each time I try spawning any image. For example the default image, I get these two lua errors:

lua/imagetool/sv_image.lua:69: attempt to index local 'config' (a nil value)
1. AddImage - lua/imagetool/sv_image.lua:69
2. LeftClick - lua/weapons/gmod_tool/stools/imagetool.lua;49
3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:214

and

lua/imagetool/sv_image.lua:84: attempt to index local 'config' (a nil value)
1. RemoveImage - lua/imagetool/sv_image.lua:84
2. RightClick - lua/weapons/gmod_tool/stools/imagetool.lua:64
3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:239

I've tried discord picture links and Imgur, also made sure they had the format extensions at the ends. Please Help.
Selenter  [developer] 21 Jan, 2022 @ 12:11am 
Originally posted by Joker:
Images don't seem to appear after spawning them, instead creating lua errors. More Information:

When I launch Gmod I get this lua error:

lua/imagetool/sv_hooks.lua:20: attempt to index local 'config' (a nil value)
1. v - lua/imagetool/sv_hooks.lua:20
2. unknown - lua/includes/modules/hook.lua:96

Each time I try spawning any image. For example the default image, I get these two lua errors:

lua/imagetool/sv_image.lua:69: attempt to index local 'config' (a nil value)
1. AddImage - lua/imagetool/sv_image.lua:69
2. LeftClick - lua/weapons/gmod_tool/stools/imagetool.lua;49
3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:214

and

lua/imagetool/sv_image.lua:84: attempt to index local 'config' (a nil value)
1. RemoveImage - lua/imagetool/sv_image.lua:84
2. RightClick - lua/weapons/gmod_tool/stools/imagetool.lua:64
3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:239

I've tried discord picture links and Imgur, also made sure they had the format extensions at the ends. Please Help.

A very strange error. It looks like your config file got corrupted, I no longer see any reason why the error is being raised. Try deleting the config file. He is in: garrysmod/data/imagetool/config.txt
Duc 21 Jan, 2022 @ 3:02pm 
It works, Thanks :steamthumbsup:
scolipede 1 Feb, 2022 @ 11:05am 
any way on how to delete images that arent on a wall ??? i placed an image in the sky on a floating plastic part then undid it, now i cant delete them :/
Notcoke 5 Aug, 2022 @ 4:50am 
When i'm using "poster" command. the picture shows wrong (some part is gone)
< >
Showing 1-15 of 33 comments
Per page: 1530 50