|
Fewyn Wanderer
Joined: 27 Sep 2002 Posts: 83
|
Posted: Sun Jan 22, 2012 6:28 pm
Using images in status window? |
Is it possible? I haven't been able to find any documentation that says it is but I've seen some screenshots where it looks like it was done.
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: Sun Jan 22, 2012 6:35 pm |
I think you would need to use the MXP image tag for that
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Fewyn Wanderer
Joined: 27 Sep 2002 Posts: 83
|
Posted: Sun Jan 22, 2012 6:40 pm |
Hrm, what tag would that be? I *tried* HTML which I thought might work but it didn't.
|
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
|
|
|
Fewyn Wanderer
Joined: 27 Sep 2002 Posts: 83
|
Posted: Sun Jan 22, 2012 7:19 pm |
Hrm, that doesn't seem to be working?
I've tried both
Code: |
<IMAGE url="http://fewyn.net/dw/guildlevel.gif"></IMAGE> |
and
Code: |
<IMAGE FName="C:\Users\fewyn\Documents\My Games\CMUD\Discworld\guildlevel.gif"></IMAGE> |
They both don't seem to work, maybe I'm missing something? |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Mon Jan 23, 2012 3:42 pm |
If it is in your session folder, you should be able to do simply:
Code: |
<IMAGE guildlevel.gif> |
|
|
|
|
Fewyn Wanderer
Joined: 27 Sep 2002 Posts: 83
|
Posted: Tue Jan 24, 2012 12:43 am |
Sadly should doesn't do anything, all it does it show nothing when I try to echo it.
Code: |
#ECHO {<IMAGE guildlevel.gif>} |
Just shows up blank, I must really be missing something. |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Tue Jan 24, 2012 3:21 pm |
<IMAGE> might be a secure command. In fact, since it can access files, it almost certainly is. You cannot execute secure commands on the command line with #ECHO or #SHOW. Try using #MXP instead of #ECHO.
|
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Tue Jan 24, 2012 6:18 pm |
I'm almost positive you can't do images in status windows, but you can in child windows.
|
|
|
|
Fewyn Wanderer
Joined: 27 Sep 2002 Posts: 83
|
Posted: Tue Jan 24, 2012 9:17 pm |
charneus wrote: |
I'm almost positive you can't do images in status windows, but you can in child windows. |
Hrm, how would I go about creating a status window like that then? The #MXP version of it worked for images though. |
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Tue Jan 24, 2012 9:40 pm |
You'd just create a new window using the #WIN command. I was using child windows for my weather script (it would show a gif of the current conditions in my city along with relevant information). The images came through quite nicely.
However, if you did get #MXP to show up in an actual status window, mind showing a screenshot of it? I'm quite curious, since nothing I've done has allowed for an image in the actual status window. |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Tue Jan 24, 2012 10:27 pm |
Images show up fine in the status window for me. Make sure you have 'Allow MXP in Status Window' checked in Prefs -> MXP -> MXP/HTML Options.
|
|
|
|
Fewyn Wanderer
Joined: 27 Sep 2002 Posts: 83
|
Posted: Tue Jan 24, 2012 11:06 pm |
Daern wrote: |
Images show up fine in the status window for me. Make sure you have 'Allow MXP in Status Window' checked in Prefs -> MXP -> MXP/HTML Options. |
I do have that option checked though? I've tried both #MXP {<IMAGE guildlevel.gif>} and just <IMAGE guildlevel.gif> and neither work. |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Wed Jan 25, 2012 12:31 am |
I just need to type #STWIN {<IMAGE path\to\file>} and it pops up... not sure what else to suggest...
|
|
|
|
Fewyn Wanderer
Joined: 27 Sep 2002 Posts: 83
|
Posted: Wed Jan 25, 2012 1:28 am |
Ah ha, I had to use the full path! That's the stuff! Thanks :)
|
|
|
|
|
|