# Overlays become Black Boxes

**URL:** <https://forum.8thwall.com/t/overlays-become-black-boxes/2275>\
**Category:** Technical Support\
**Tags:** image-targets\
**Created:** [July 31, 2024, 10:42pm UTC](https://forum.8thwall.com/t/overlays-become-black-boxes/2275 "2024-07-31T22:42:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew\_Campagna](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@Matthew\_Campagna](https://forum.8thwall.com/u/Matthew_Campagna)\
**Post date:** [July 31, 2024, 10:42pm UTC](https://forum.8thwall.com/t/overlays-become-black-boxes/2275/1 "2024-07-31T22:42:31Z")

</div>

A-Frame

It was working before, but now I’m having an issue. I have 5 images I’m using as targets and 3 images and 2 GLBs as overlays. The GLBs are working fine. My images do not. They were working before, but I must have changed something that is now causing the overlays to show a black rectangles rather than the intended image. Any ideas why this is happening. I’m guessing a syntax issue, but am unsure.

During troubleshooting I removed the images and added them back to the project. That had no effect.

---

<div class="post-metadata">

**Author:** ![Matthew\_Campagna](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@Matthew\_Campagna](https://forum.8thwall.com/u/Matthew_Campagna)\
**Post date:** [August 1, 2024, 1:48am UTC](https://forum.8thwall.com/t/overlays-become-black-boxes/2275/2 "2024-08-01T01:48:51Z")

</div>

Never mind. I solved the issue. I was using “a-asset-item” instead of “img”. This got switched around when I started adding GLB files for practice.

Example:

```auto
    <a-asset-item id="octo" src="./assets/octo_coin_spin.glb"></a-asset-item>
    <img id="pullen" src="./assets/04_pullen_over.png" />

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/x8thwall/original/2X/9/9212a857458f1b03a6accb129e0f8cbea408e3e5.png) [@system](https://forum.8thwall.com/u/system)\
**Post date:** [August 5, 2024, 1:49am UTC](https://forum.8thwall.com/t/overlays-become-black-boxes/2275/3 "2024-08-05T01:49:12Z")

</div>

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.
