Can't assign an image to public Image variable

Hello! I’m a noob so this is probably a stupid question but my problem is basically what the question says, I have a public Image variable inside a script, but when i want to drag and drop an image from the inspector, i can’t. And when i click on the circle next to it to choose an image, there’s nothing on the list How can i fix this?.

Try using public Sprite variables. Image variables asks for Image components while Sprite variables asks for actual images like .png

Are you using UnityEngine.UI; ?