not letting me drag a .png into the scene

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LegendaryPineapple

Hi, I’m pretty new to godot, and I tied dragging in a .png that I made in photoshop. When the image imports, it doesn’t display the image next to it like I’ve seen it do, but rather it shows this odd placeholder. Furthermore, it wouldn’t let me drag the image into the scene, and I’m not sure what’s going on. Any help would be greatly appreciated!

maybe you saved as psd instead of png?
seems to work for me with png and even shows ui

rakkarage | 2020-07-31 17:02

:bust_in_silhouette: Reply From: DDoop

Images are resources that can’t be instantiated on their own in Godot. They have to be attached to a Node that will display them, such as a Sprite node. Once the image is imported, you can drag it from the Godot filesystem panel to the “Texture” drop-down entry in the inspector for a selected Sprite node. I hope I’m understanding your problem, if not please share some pictures or elaborate on what you’re trying to achieve.

I think I’ve fixed it. Is there by any chance a resolution cap in godot? Because it was giving me a lot of errors before, but now I can put it into the scene just fine, after I lowered the resolution by a pretty large amount.

LegendaryPineapple | 2020-07-31 17:03

From the docs:

Note: The maximum image size is 16384×16384 pixels due to graphics
hardware limitations. Larger images will fail to import.

DDoop | 2020-07-31 18:07