This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [Question] - Item Gossip Image.  (Read 761 times)

Krang Stonehoof

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 164
    • View Profile
[Question] - Item Gossip Image.
« on: May 10, 2016, 10:22:36 am »
Greetings,

There's an item http://www.wowhead.com/item=11108/faded-photograph that on it's gossip there's an image. Anyone have any idea where that's handled?

Thanks
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [Question] - Item Gossip Image.
« Reply #1 on: May 10, 2016, 10:46:17 am »
Wow supports as fare I know a very basic html syntax.
It is so with the news box.

Just have a look at the database and search the text entry. There you can see how they access the image.
BLPs can be referenced in this html like normal images direct from patch with relativ path.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [Question] - Item Gossip Image.
« Reply #2 on: May 10, 2016, 11:37:30 am »
Code: [Select]
<HTML>
<BODY>
<BR/>
<BR/>
<P>
In memory of my dear mentor, Horatio M. Montgomery, M.D. Healer, Teacher, Friend.
</P>
<BR/>
<H1 align="center">
50 BTFT - 25 ATFT
</H1>
<BR/>
<P>
"The world is full of the sick and weary. It is our job, as healers, NAY, as men and women of medicine, to cleanse them ALL of the 'itis.'"
</P>
<BR/>
<P>
- H.M.M., M.D., PhD, JD, Grandmaster Farmer, Dancer Extraordinaire, Friend to the Animals
</P>
<BR/>
</BODY>
</HTML>
Just a quick example. Check page_text table, which is being referred from item's item_template

EDIT: Or more suitable example for your particular problem here:
Code: [Select]
<HTML>
<BODY>
<IMG src="InterfacePictures9330_Gammerita_sepia_256"/>
</BODY>
</HTML>
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz