Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   Hero Lab Discussion (http://forums.wolflair.com/forumdisplay.php?f=43)
-   -   User image in custom output (http://forums.wolflair.com/showthread.php?t=63780)

AlxNzx February 2nd, 2020 12:46 PM

User image in custom output
 
I've done quite a few searches but have not been able to figure out how to get users' characters images into my custom output.

I'm looking for either a file to refer to, or better yet, a base64 binary string for every picture.

Is that possible and how can I manage that ?

Thanks in advance.

Farling February 2nd, 2020 01:17 PM

Have you looked at the output sheets for pathfinder? Somewhere in their template it probably makes a reference to the data field which will pick the portrait picture out of the HL database.

AlxNzx February 2nd, 2020 01:24 PM

Duh, of course. Thanks Farling.

Quote:

<xsl:template match="image">
<img class="portrait">
<xsl:attribute name="src"><xsl:value-of select="@filename"/></xsl:attribute>
</img>
</xsl:template>


Farling February 2nd, 2020 02:05 PM

Quote:

Originally Posted by AlxNzx (Post 285531)
Duh, of course. Thanks Farling.

Duh ran, Duh ran.

But where did he run to?


All times are GMT -8. The time now is 04:22 AM.

Powered by vBulletin® - Copyright ©2000 - 2020, vBulletin Solutions, Inc.
wolflair.com copyright 1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.