Hello, So i am trying to set a texture frame to a .jpg image file beside my frame. Is there something special i have to do? With my current code it only displays a green box where the image should be at.
Lua Code:
local tec = k:CreateTexture(nil,"OVERLAY")
tec:SetPoint("RIGHT")
tec:SetSize(50,50)
tec:SetTexture("C:\\Program Files (x86)\\World of Warcraft\\_retail_\\Interface\\AddOns\\ownAddon\\icons\\fear.jpg")
this is how it looks:
https://gyazo.com/05493ffe4b4c163bd86e5613c2a159df