Added another line to the code for the color filling and changed the imageControl:SetTexture(“”) but still without success. Not sure what else I could try at this point.
Lua Code:
function addon.InitializeUI()
-- Create a control for the image
local imageControl = WINDOW_MANAGER:CreateControl("MyAddonImage", GuiRoot, CT_TEXTURE)
imageControl:SetTexture("/esoui/art/ava/ava_allianceflag_neutral.dds")
imageControl:SetDimensions(100, 100)
imageControl:SetAnchor(CENTER, GuiRoot, CENTER, 0, 0)
imageControl:SetHidden(false)
imageControl:SetColor(1, 0, 0, 0.5)