# 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:** 1\
**Showing post:** 4

<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)){ }

---

_[View the full topic](https://forums.unrealengine.com/t/how-do-i-show-an-image-in-an-in-editor-slate-widget-nothing-works/768820)._
