Thread Tools Display Modes
02/26/14, 05:38 PM   #1
Nyro
 
Nyro's Avatar
Join Date: Feb 2014
Posts: 7
[tech]images/content inclusion

Seems I'm the first to post, I hope it does worth it.
I was wandering on the internet wondering if and how it would be possible to insert custom images, like a guild banner a start (even if it's not necessarily the world best add-on, I agree on that).
Now that it's been posted I can continue my research in peace, i guess.
Thanks in advance.
  Reply With Quote
02/26/14, 09:20 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 648
I've tried to use a custom graphic myself and was so far unsuccessful...
  Reply With Quote
02/26/14, 11:50 PM   #3
Nyro
 
Nyro's Avatar
Join Date: Feb 2014
Posts: 7
Did you try with the function below ?
* SetTexture (string filename)
If not, what did you try ?
In any case, were you able to find out what was the problem ? A relative/absolute path misleading ? Permission problem ? Were did you put you image ?
i'm sorry, but I'm curious and slightly enthousiastic.

Last edited by Nyro : 02/26/14 at 11:52 PM.
  Reply With Quote
02/27/14, 08:46 AM   #4
zork
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 29
*edit*
See below.

Last edited by zork : 02/28/14 at 02:08 AM.
  Reply With Quote
02/27/14, 10:01 PM   #5
SinusPi
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 18
You can put DDS files alongside your addon, if you only :SetTexture("YourAddonFolder/file.dds") .
  Reply With Quote
02/28/14, 02:07 AM   #6
zork
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 29
That simple.
  Reply With Quote

ESOUI » Developer Discussions » Graphics Help » [tech]images/content inclusion

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off