Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ MXP and Pueblo ➜ MXP Images?

MXP Images?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Starflight   Australia  (12 posts)  Bio
Date Tue 14 Sep 2004 02:37 AM (UTC)
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?
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Tue 14 Sep 2004 03:58 AM (UTC)
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
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #2 on Tue 14 Sep 2004 05:08 AM (UTC)
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.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #3 on Tue 14 Sep 2004 05:35 AM (UTC)
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
Top

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

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #5 on Tue 14 Sep 2004 06:13 AM (UTC)
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
Top

Posted by Eos   USA  (52 posts)  Bio
Date Reply #6 on Tue 14 Sep 2004 11:49 AM (UTC)
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
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #7 on Tue 14 Sep 2004 09:16 PM (UTC)
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
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.


23,545 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.