ID:143578
 
Code:
client/script = {"<STYLE>BODY {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8px;}
IMG.icon {width: 32px; height: 32px} SMALL IMG.icon {width: 16px; height: 16px} LARGE IMG.icon {width: 96px; height: 64px}
</STYLE>"}


Problem description:

The idea was that in the Text Window it would default to 32x32 (IMG) and i could force it to 16x16 or 96x64 when needed with < LARGE > or < SMALL >. Problem is that while it worked with just IMG and SMALL, once i added the larger size everything (but the forced 16x16) defaulted to 96x64. In BYOND 3.5 i fixed that by making all the 32x32 icons *.dmi files and this stoped it enlarging them.

However since movin to BYOND 4.0 it goes back to defaulting to large sizes (im assuming because now it allows sizes bigger than 32x32 in those files).

Anyone got any advise on how i might solve this? Or perhaps do it a bit better than the method im using at the moment....

Right now if i have a larger image i want to display in the text window i would do < LARGE >\icon[name]< /LARGE >. I *think* that the text window might support HTML now in 4.0 so could i just simply make them PNG's and link them as html instead?
Edit your skin and paste that style sheet into the Options tab of the output control, minus the <STYLE> and </STYLE> like this:
BODY {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8px;}
IMG.icon {width: 32px; height: 32px} SMALL IMG.icon {width: 16px; height: 16px} LARGE IMG.icon {width: 96px; height: 64px}