[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  MXP and Pueblo
. . -> [Subject]  MXP Images?

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

MXP Images?

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Starflight   Australia  (12 posts)  [Biography] bio
Date Tue 14 Sep 2004 02:37 AM (UTC)  quote  ]
Message
Sorry if this has been raised before, but I couldn't find it in previous posts. Where do I need to put image files so that I can access them with MXP?

If I simplly send <IMAGE abc.gif>, where is MushClient looking to find this file?
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Reply #1 on Tue 14 Sep 2004 03:58 AM (UTC)  quote  ]
Message
I don't believe it's looking anywhere, since as far as I know MUSHclient doesn't have image support.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Reply #2 on Tue 14 Sep 2004 05:08 AM (UTC)  quote  ]
Message
Mushclient looks on the web, whereever the image tag says to. I would assume it would be hosted on the webspace for your mud.

It doesnt look anywhere locally, if thats what you're asking.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Reply #3 on Tue 14 Sep 2004 05:35 AM (UTC)  quote  ]
Message
Ah, right. It opens up a browser window, doesn't it?

But yeah, it treats the image location as a URL.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Starflight   Australia  (12 posts)  [Biography] bio
Date Reply #4 on Tue 14 Sep 2004 05:40 AM (UTC)  quote  ]
Message
If that's the case, is it possible to somehow specify "localhost" with directory information as the URL address?
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Reply #5 on Tue 14 Sep 2004 06:13 AM (UTC)  quote  ]
Message
Localhost would imply that there is a web server running which is not necessarily the case. You would have to use file:///, e.g.
file:///C:/tmp/tmp.html

Of course, you don't necessarily know that everybody has MC installed in the same directory, which could be problematic.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Eos   USA  (52 posts)  [Biography] bio
Date Reply #6 on Tue 14 Sep 2004 11:49 AM (UTC)  quote  ]
Message
It wouldn't matter if you specified a local file or not.
Mushclient does not display images. It displays hyperlinks to them, that have to be clicked to view in a browser window.

Read the release notes for version 3.51

6. When receiving an MXP <supports> tag, MUSHclient no longer claims to support the <image> tag.

7. When receiving an MXP <image> tag, it now appends the "fname" argument to the URL argument, eg.

<image fname="mypic.gif" url="http://myserver.com/images/" >

This will generate a link to:

http://myserver.com/images/mypic.gif

For more discussion about this, see http://www.gammon.com.au/forum/?bbsubject_id=4318
[Go to top] top

Posted by Nick Gammon   Australia  (18,801 posts)  [Biography] bio   Forum Administrator
Date Reply #7 on Tue 14 Sep 2004 09:16 PM (UTC)  quote  ]
Message
If they are local images anyway, I can't see much point. As Eos says, MUSHclient doesn't actually display them. It is a text client after all.

If you want to distribute images for a MUD (eg. maps) then you could put them into a folder as JPG files, or HTML documents or whatever, zip it up and let the players download it and view them whenever they want, in their web browser.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


2,930 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]