ID:179435
 
I have a dms file, and in it i have :
BIG IMG.icon {width: 32px; height: 32px}
SMALL IMG.icon {width: 16px; height: 16px}


I get:
:1:error at 'IMG': variable not defined

and when i try to get a verb to show a full size icon in the text window like:
OOC(msg as text)
usr.portrait = 'agumon.bmp'
//world << "<BIG>\icon[usr.portrait]</BIG> OOC: [usr] :[msg] "
usr << "You look like this: <BIG>\icon[usr.portrait]</BIG>!"


and it only shows the little icon

any help will be appriciated
You can't change the size of the icon displayed, it automaticly changes it to "small" mode.
In response to Nadrew
Not true!

I think in your case, Pillsverry, you'd be better off manually creating the entire IMG tag each time you want to use it:

<IMG CLASS=icon SRC=\ref[icon] ICONSTATE="iconstate" WIDTH=32 HEIGHT=32>