Long ago I tried to have a mod that changed ImageStyles on an element at run-time, but it didn't work. I'm not so sure you can change the graphical elements after the UI has loaded.
If you really want to have the graphics configured by the .txt file, I think you'll have to configure the whole ImageStyle there and then point the image to that style. Looks like you're trying to set the graphics twice or something.
|