Okay so this might be your problem. Are you moving the file you are trying to use the the
litepanels media folder? That folder is located in the Litepanels Addon folder, it should be empty or might have a couple files in it already.
If yes... then
... like in your example will work if the file is in correct format.
If no... then you need to make sure the path is correct.
Example:
lua Code:
tex_file = "Interface\\Addons\\oUF_Karma\\media\\Statusbar.tga",
tex_file = "Interface\\Addons\\FOLDER\\TEXTURE",
That could explain your black box problem.
One of my panels looks like:
lua Code:
{ name = "CenterGraphic",
anchor_to = "BOTTOM", anchor_from = "BOTTOM",
y_off = 10, x_off = 0,
height = 100, width = "25%", level = 1,
tex_file = "Interface\\Addons\\oUF_Karma\\media\\Statusbar.tga",
bg_color = {.15,.15,.15}, bg_alpha = 1,
border = "SOLID", border_size = 2, border_color = {0,0,0}, border_alpha = 1,
},