View Full Version : Embedding images in Library .mod's
Kalan
May 25th, 2007, 09:35
Greetings once again :)
I'm just curious if anyone has figured out how to embed images into FGII .mod files? If you have, would you be so kind as to point out how it can be accomplished?
Thanks a bunch!
V
DrDeth
May 25th, 2007, 11:03
Im not sure what you mean, or what you want to achieve.
.mod files are simple zip files, so if you want to change the module thumbnail, you can extract the module, replace the thumbnail.png file and zip it back up.
Kalan
May 25th, 2007, 12:31
Gah...bad case of not enough coffee before posting ;)
What I mean is an embedded graphic inside of the text in the various rules entries...
An example - I have a description of an elf in my rules entry, I'd like to include a picture of that elf beside the "description" tag in the elf entry of the rules.
Hopefully that's a little more clear :D
Valarian
May 25th, 2007, 13:12
Would an IMG tag work with a relative file reference work?
<img src="images/elf.png" />
e.g. If your client.xml has an IMG tag referencing images/elf.png, you would place a file called elf.png in a images directory in your module .mod file
sloejack
May 25th, 2007, 15:09
No, you can't, without I suspect generating a new ruleset with different frame templates.
If you try to inject an <img src="blah.jpg"> in your xml it won't load properly.
Goblin-King
May 29th, 2007, 08:16
You can include stand-alone images in modules, just export a map into a test module and see how that works.
As for embedding images in formatted text content, you can't do that at this time.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.