# How do I show an image in an In-Editor slate widget? Nothing works

**URL:** <https://forums.unrealengine.com/t/how-do-i-show-an-image-in-an-in-editor-slate-widget-nothing-works/768820>\
**Category:** C++\
**Tags:** unreal-engine, question, CPP\
**Created:** [February 11, 2023, 9:03pm UTC](https://forums.unrealengine.com/t/how-do-i-show-an-image-in-an-in-editor-slate-widget-nothing-works/768820 "2023-02-11T21:03:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Probezeit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/probezeit/32/1194679_2.png) [@Probezeit](https://forums.unrealengine.com/u/Probezeit)\
**Post date:** [February 11, 2023, 9:03pm UTC](https://forums.unrealengine.com/t/how-do-i-show-an-image-in-an-in-editor-slate-widget-nothing-works/768820/1 "2023-02-11T21:03:09Z")

</div>

I tried many different things to make this work but nothing seems to work. I am currently making my own plugin and have some images I want to show in my In-Editor slate widget. The images are located in the “Resources” folder of my plugin. My current way is just showing a white image but in the right size.  
This is my current code

```auto
SNew(SImage).Image(new FSlateImageBrush(*(FPaths::ConvertRelativePathToFull(FPaths::ProjectPluginsDir()) + "/BAS_TeamWork/Resources/T_EyeClosed.png"), FVector2D(600, 600)))

```

---

<div class="post-metadata">

**Author:** ![BeatMeatPopsicle](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/beatmeatpopsicle/32/623729_2.png) [@BeatMeatPopsicle](https://forums.unrealengine.com/u/BeatMeatPopsicle)\
**Post date:** [February 17, 2023, 9:35pm UTC](https://forums.unrealengine.com/t/how-do-i-show-an-image-in-an-in-editor-slate-widget-nothing-works/768820/2 "2023-02-17T21:35:12Z")

</div>

Did you ever solve this?

---

<div class="post-metadata">

**Author:** ![Probezeit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/probezeit/32/1194679_2.png) [@Probezeit](https://forums.unrealengine.com/u/Probezeit)\
**Post date:** [February 17, 2023, 10:48pm UTC](https://forums.unrealengine.com/t/how-do-i-show-an-image-in-an-in-editor-slate-widget-nothing-works/768820/3 "2023-02-17T22:48:46Z")

</div>

No. Still desperately trying.

---

<div class="post-metadata">

**Author:** ![BeatMeatPopsicle](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/beatmeatpopsicle/32/623729_2.png) [@BeatMeatPopsicle](https://forums.unrealengine.com/u/BeatMeatPopsicle)\
**Post date:** [February 18, 2023, 9:23pm UTC](https://forums.unrealengine.com/t/how-do-i-show-an-image-in-an-in-editor-slate-widget-nothing-works/768820/4 "2023-02-18T21:23:16Z")

</div>

This is what helped me:

> [@Load PNG Image from disk](https://forums.unrealengine.com/t/load-png-image-from-disk/680334):
>
> Hello, I’m trying to load a image from a file in the disk and convert it to a UTexture2D but unreal keeps crashing. I already tried to use LoadObject, but unreal keeps crashing. Does anyone know a solution? FString FullPath = FPlatformProcess::UserDir() + "Game/logos/countries/ad.png" if(LoadObject\<UTexture2D\>(NULL, \*FullPath)){ }
