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
Voidoloth
Newbie


Joined: 13 Jul 2010
Posts: 5

PostPosted: Thu Jan 09, 2014 9:14 am   

A issue with Images
 
alright I've been trying to add a image to a button for about 3 days and honestly am at a loss as to how to do it. It is

I have tried using #IMAGE like this to find out what pathing to use to call things.

Code:
#IM C:\Users\UserName\Documents\My Games\CMUD\TestImage.png
#IM "C:\Users\UserName\Documents\My Games\CMUD\TestImage.png"
#IM (C:\Users\UserName\Documents\My Games\CMUD\TestImage.png)


all I get is a blank white window. I am hoping to put a profile picture in for my char in a button.

i've also tried to use %btnimage and %url and can not get anything to work. If I need to go into Luna to get it to display a image for the button I just need to be pointed in the right direction and I can read some tutorials on how to do the rest if necessary.

also the only other hint i've seen is maybe it is a bug and I need to use conconate? which is this is true I'll try and work though it. Thank you in advance for any help you can provide.
Reply with quote
shalimar
GURU


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

PostPosted: Thu Jan 09, 2014 3:21 pm   
 
you sure its not in "My Documents"?
try curly brackets as well
_________________
Discord: Shalimarwildcat
Reply with quote
Voidoloth
Newbie


Joined: 13 Jul 2010
Posts: 5

PostPosted: Mon Jan 13, 2014 12:33 am   
 
Alright, placing it in curly brackets makes nothing "visible" happen, as in the blank window "Image View" dose not pop up. It is just "Documents" I am getting the file path from the properties window the "Location". I think the "Image View" window should pop up? even if it is just blank white. Is there maybe a limit on the size of the png I could be outside of? And PNG is one of the formats that should work with #IM, correct?
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Mon Jan 13, 2014 2:45 am   
 
According to the #image documentation, "The following graphics formats are supported: BMP, GIF, JPG." So no, I would guess that's your problem.
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