Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Fewyn
Wanderer


Joined: 27 Sep 2002
Posts: 83

PostPosted: 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.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4715
Location: Pensacola, FL, USA

PostPosted: Sun Jan 22, 2012 6:35 pm   
 
I think you would need to use the MXP image tag for that
_________________
Discord: Shalimarwildcat
Reply with quote
Fewyn
Wanderer


Joined: 27 Sep 2002
Posts: 83

PostPosted: 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.
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Sun Jan 22, 2012 6:52 pm   
 
Check out http://www.zuggsoft.com/zmud/mxp.htm#Images.
Reply with quote
Fewyn
Wanderer


Joined: 27 Sep 2002
Posts: 83

PostPosted: 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?
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: 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>
Reply with quote
Fewyn
Wanderer


Joined: 27 Sep 2002
Posts: 83

PostPosted: 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.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: 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.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: 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.
Reply with quote
Fewyn
Wanderer


Joined: 27 Sep 2002
Posts: 83

PostPosted: 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.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: 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.
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: 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.
Reply with quote
Fewyn
Wanderer


Joined: 27 Sep 2002
Posts: 83

PostPosted: 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.
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: 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...
Reply with quote
Fewyn
Wanderer


Joined: 27 Sep 2002
Posts: 83

PostPosted: Wed Jan 25, 2012 1:28 am   
 
Ah ha, I had to use the full path! That's the stuff! Thanks :)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net