DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • July 31, 2010, 03:51:08 AM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: [1]   Go Down
  Print  
Author Topic: Displaying image(s)  (Read 924 times)
0 Members and 1 Guest are viewing this topic.
Voratus
Guest
« on: June 24, 2004, 10:28:38 AM »

I thought this was discussed before, so I did a search but didn't come up with anything useful.
I'm working on a travel modification complete with a map (which is an image file).
I tried sticking the img src in an output line (as I want it to display in the "content" portion of the page), but it only shows the raw html (I'm guessing as an aspect of the "output" command.
How can tell it to output html, or what is the workaround to get it to display said html/image?
Logged
DeathDragon
Guest
« Reply #1 on: June 24, 2004, 10:30:38 AM »

Just do something like:

Code:
rawoutput("<IMG SRC=\"images/YOURIMAGE.GIF\">\n");
Logged
lonnyl
Guest
« Reply #2 on: June 24, 2004, 11:38:29 AM »

or try

output("<IMG SRC=\"images/YOURIMAGE.GIF\">\n",true);
Logged
Voratus
Guest
« Reply #3 on: June 24, 2004, 12:06:12 PM »

Muchas gracias...that did it.

Now to incorporate an imagemap....

Maybe later.
« Last Edit: June 24, 2004, 12:06:48 PM by Voratus » Logged
Kendaer
Global Moderator
Mod God
*****
Offline Offline

Posts: 1806


Once a dragon, always a dragon


View Profile WWW
« Reply #4 on: June 24, 2004, 06:18:45 PM »

rawoutput() is the preferred fuction for something like that.
Logged

Ex co-developer of LotGD
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Who's Online
24 Guests, 1 User
spector
DragonPrime LoGD
Recent Topics
Home Forums News Links Downloads Login Register Advanced Search