# Editing Layer Images in 3.5.1

**URL:** <https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676>\
**Category:** Technical Support & Bugs\
**Created:** [February 16, 2021, 7:42pm UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676 "2021-02-16T19:42:45Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimpyle](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/jimpyle/32/43_2.png) [@jimpyle](https://forum.vassalengine.org/u/jimpyle)\
**Post date:** [February 16, 2021, 7:42pm UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/1 "2021-02-16T19:42:45Z")

</div>

Big problem here. If I edit a layer trait of a piece by selecting an updated, same file name, image the new image doesn’t show up until I save the module, close the module and then reopen it. So no immediate confirmation that you selected the correct image. This works properly in 3.2.17. There the new image shows up as soon as you click the OK button after selecting the image file with the same file name even before OKing the layer trait.

---

<div class="post-metadata">

**Author:** ![Brent\_Easton](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/brent_easton/32/10_2.png) [@Brent\_Easton](https://forum.vassalengine.org/u/Brent_Easton)\
**Post date:** [February 16, 2021, 10:57pm UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/2 "2021-02-16T22:57:16Z")

</div>

I am having trouble reproducing this. Could you please describe exactly what you mean by ‘new image doesn’t show up’?

Thanks.

---

<div class="post-metadata">

**Author:** ![jimpyle](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/jimpyle/32/43_2.png) [@jimpyle](https://forum.vassalengine.org/u/jimpyle)\
**Post date:** [February 17, 2021, 3:01am UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/3 "2021-02-17T03:01:25Z")

</div>

Attached is a sample module created using the VASSAL 3.5.2-SNAPSHOT-module\_list-ef53af5e2 editor you gave me earlier.

In it is just a simple map and just one piece. The piece has a layer trait with the 2nd layer being an orange tinted circle. The other attached file (copy in the root directory of the module file) is a blue hex outline image with the same file name as the orange tinted circle. If you edit the module and change the 2nd layer image from the orange circle to the blue hex outline, you can’t see that the editor accepted the blue hex outline image until you save the module, close it and then open it again in the editor.

Let me know if you have any questions.

Jim

---

<div class="post-metadata">

**Author:** ![Brent\_Easton](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/brent_easton/32/10_2.png) [@Brent\_Easton](https://forum.vassalengine.org/u/Brent_Easton)\
**Post date:** [February 17, 2021, 3:28am UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/4 "2021-02-17T03:28:54Z")

</div>

Thanks for the explanation, I had missed the key point that you are loading a new version of an image with the same name.

Will need Joel to comment to this.

---

<div class="post-metadata">

**Author:** ![jimpyle](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/jimpyle/32/43_2.png) [@jimpyle](https://forum.vassalengine.org/u/jimpyle)\
**Post date:** [February 17, 2021, 12:03pm UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/5 "2021-02-17T12:03:24Z")

</div>

Thanks, Brent. I sure hope you, Joel and the others still find fixing these thing fun as well as challenging. 🙂

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [February 20, 2021, 12:08am UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/6 "2021-02-20T00:08:36Z")

</div>

Try 3.5.2-SNAPSHOT-bug14088-9a3cea5e7: [vassalengine.org/~uckelman/tmp/](http://www.vassalengine.org/~uckelman/tmp/)

Does that solve the problem you’re seeing?

---

<div class="post-metadata">

**Author:** ![jimpyle](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/jimpyle/32/43_2.png) [@jimpyle](https://forum.vassalengine.org/u/jimpyle)\
**Post date:** [February 20, 2021, 2:08am UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/7 "2021-02-20T02:08:07Z")

</div>

Sorry, still doesn’t work. The change occurs it’s just that I can’t see it until I save the module, close the module and then open it up again.

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [February 23, 2021, 11:57pm UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/8 "2021-02-23T23:57:46Z")

</div>

Try 3.5.4-SNAPSHOT-bug14088-ab6bfeb7c: [vassalengine.org/~uckelman/tmp/](http://www.vassalengine.org/~uckelman/tmp/)

Does that work?

---

<div class="post-metadata">

**Author:** ![jimpyle](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/jimpyle/32/43_2.png) [@jimpyle](https://forum.vassalengine.org/u/jimpyle)\
**Post date:** [February 24, 2021, 3:10am UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/9 "2021-02-24T03:10:49Z")

</div>

Joel,

That did it! Works like back in the old days. 🙂

Thanks!!!

Jim

---

<div class="post-metadata">

**Author:** ![Kjohrf](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/k/22d042/32.png) [@Kjohrf](https://forum.vassalengine.org/u/Kjohrf)\
**Post date:** [November 11, 2022, 3:08pm UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/10 "2022-11-11T15:08:43Z")

</div>

I still have this problem or a similar one in 3.6.7. I have a Basic Piece trait image. I re-work the image file and clear and add it again. The old image still shows up. I think I need to change close and re-edit/open the module to see the right image. (Not to mention that I need to delete my extra copies of the pieces in deck and then duplicate them again.)

---

<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:** [November 11, 2022, 3:54pm UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/11 "2022-11-11T15:54:44Z")

</div>

> [@Kjohrf](#):
>
> I re-work the image file and clear and add it again.

What do you mean by “clear” it? Can you describe the process in the Editor you’re using? Be as exhaustive with your details as possible.

> [@Kjohrf](#):
>
> Not to mention that I need to delete my extra copies of the pieces in deck and then duplicate them again.

Is this meant to be a separate issue, or linked to the one above?

---

<div class="post-metadata">

**Author:** ![Kjohrf](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/k/22d042/32.png) [@Kjohrf](https://forum.vassalengine.org/u/Kjohrf)\
**Post date:** [November 13, 2022, 1:08am UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/12 "2022-11-13T01:08:21Z")

</div>

By “clear” I mean clicking on the Clear button. I think the details are, edit the Basic Piece trait, click Add. Select the image file (it’s the exact same location, but the graphics in the file have been updated). Click OK etc. Try the game out (New game without re-loading the module) and the old image is still there.

---

<div class="post-metadata">

**Author:** ![Kjohrf](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/k/22d042/32.png) [@Kjohrf](https://forum.vassalengine.org/u/Kjohrf)\
**Post date:** [November 13, 2022, 1:09am UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/13 "2022-11-13T01:09:35Z")

</div>

Yes the “delete” part is a separate issue. Sorry for the extra venting but that makes for a **lot** of extra work. I have 2-6 copies of most of the tiles in my game (more if I ever get to playtesting with more than a couple people).

---

<div class="post-metadata">

**Author:** ![Skotkolr](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/skotkolr/32/223_2.png) [@Skotkolr](https://forum.vassalengine.org/u/Skotkolr)\
**Post date:** [November 13, 2022, 1:35pm UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/14 "2022-11-13T13:35:34Z")

</div>

Have you tried refreshing the counters in play under tools?

---

<div class="post-metadata">

**Author:** ![Kjohrf](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/k/22d042/32.png) [@Kjohrf](https://forum.vassalengine.org/u/Kjohrf)\
**Post date:** [November 13, 2022, 2:24pm UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/15 "2022-11-13T14:24:34Z")

</div>

Ah, thanks. Didn’t know that was there! Will try it next time I change some artwork.

---

<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:** [November 13, 2022, 2:29pm UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/16 "2022-11-13T14:29:06Z")

</div>

The Refresh Counters tool–while very useful and valuable–does not impact image assets, just piece definitions. It ought to have no bearing on what you’re experiencing with the replaced image issue, at least. I’m still not clear on the bounds of the other issue, which you confirmed is separate. If you are loading predefined setups after making changes and not seeing those changes reflected, Refresh Counters is very likely to _help_ in that case.

---

<div class="post-metadata">

**Author:** ![Kjohrf](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/k/22d042/32.png) [@Kjohrf](https://forum.vassalengine.org/u/Kjohrf)\
**Post date:** [November 13, 2022, 2:53pm UTC](https://forum.vassalengine.org/t/editing-layer-images-in-3-5-1/11676/17 "2022-11-13T14:53:44Z")

</div>

I don’t use predefined setups.
