# Importing images into vassal module

**URL:** <https://forum.vassalengine.org/t/importing-images-into-vassal-module/84936>\
**Category:** Module Design\
**Tags:** development, v3\_7\
**Created:** [April 5, 2025, 8:41am UTC](https://forum.vassalengine.org/t/importing-images-into-vassal-module/84936 "2025-04-05T08:41:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![smeagol](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@smeagol](https://forum.vassalengine.org/u/smeagol)\
**Post date:** [April 5, 2025, 8:41am UTC](https://forum.vassalengine.org/t/importing-images-into-vassal-module/84936/1 "2025-04-05T08:41:03Z")

</div>

hello again !

I have a very basic question : i would like to add an image .png to a layer property, but this image is not within the “images” folder of the module (i’m working with the vassal editor).

so i doubleclick there (see screenshot, where the yellow x is), select the path of my picture, but the image visual doesn’t appear, and in the scrolling selection (below yellow x, where “no image” is written) the name of the file doesn’t appear, too.

 ![image](https://forum.vassalengine.org/uploads/default/original/2X/a/a8b6ef4299123729d0c349a1ac8968c27d5f45c1.png)

What am i doing wrong ? From what i understood, it was the good way to go. A longer way should be to convert module to zip, and add images to “images” folder, then convert back, but it is waaaaaay longer…

Thanks for your answers

---

<div class="post-metadata">

**Author:** ![Jim\_Hunter](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/j/858c86/32.png) [@Jim\_Hunter](https://forum.vassalengine.org/u/Jim_Hunter)\
**Post date:** [April 5, 2025, 9:57am UTC](https://forum.vassalengine.org/t/importing-images-into-vassal-module/84936/2 "2025-04-05T09:57:19Z")

</div>

As I recall, the editor doesn’t show the visual confirmations you are looking for (and as one would expect) but your change has actually been made.

Try starting a new game to look for your changes. Don’t forget to Update Counters if your game is a Pre Defined Scenario.

---

<div class="post-metadata">

**Author:** ![smeagol](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@smeagol](https://forum.vassalengine.org/u/smeagol)\
**Post date:** [April 5, 2025, 12:15pm UTC](https://forum.vassalengine.org/t/importing-images-into-vassal-module/84936/4 "2025-04-05T12:15:38Z")

</div>

So i got to this point 🙂 I imported the pictures with the double-click option, and i waited a bit, now i see them in the list, but i don’t see any prelook of the visual.

And the layer doesn’t appear when i play the module.

 ![image](https://forum.vassalengine.org/uploads/default/original/2X/3/3f8d4835b84930197a9da3e991807ae5b7456daf.png)

I’ve an exact same layer command, the only difference being that the pictures where already in the module, and it works fine.

---

<div class="post-metadata">

**Author:** ![smeagol](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@smeagol](https://forum.vassalengine.org/u/smeagol)\
**Post date:** [April 5, 2025, 2:01pm UTC](https://forum.vassalengine.org/t/importing-images-into-vassal-module/84936/5 "2025-04-05T14:01:23Z")

</div>

I used as different images some into the images folder and some loaded by myself

i get an **Error.data\_error\_message** when i try to use the ones i imported myself, but the other ones are fine. Hence i might have missed something there…

---

<div class="post-metadata">

**Author:** ![JoelCFC25](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/joelcfc25/32/2687_2.png) [@JoelCFC25](https://forum.vassalengine.org/u/JoelCFC25)\
**Post date:** [April 5, 2025, 2:48pm UTC](https://forum.vassalengine.org/t/importing-images-into-vassal-module/84936/6 "2025-04-05T14:48:39Z")

</div>

> [@smeagol](#):
>
> i get an **Error.data\_error\_message** when i try to use the ones i imported myself, but the other ones are fine. Hence i might have missed something there…

It’s likely going to be very important to supply a screenshot of the actual error message you receive, or find the portion of the [errorLog](https://vassalengine.org/wiki/Error_Logs) corresponding to when the message occurred.

---

<div class="post-metadata">

**Author:** ![smeagol](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@smeagol](https://forum.vassalengine.org/u/smeagol)\
**Post date:** [April 6, 2025, 5:08pm UTC](https://forum.vassalengine.org/t/importing-images-into-vassal-module/84936/7 "2025-04-06T17:08:12Z")

</div>

Oh my, thank you a lot !  
I found the error log, very usefull. It is mentionning this :

> 2025-04-05 15:57:10,842 [12488-AWT-EventQueue-0] WARN VASSAL.tools.ErrorDialog - Source: the\_image\_i\_want.png Error: Unrecognized image type

Then i remembered that I extracted these images as _something.webp_ and just changed the name to _something.png_ . I am the dumbest guy around. The problem is now fixed, actual .png images work fine…

Thank you a lot for your answers and your time.
