View Single Post
Old 05-20-2014, 02:20 AM   #15
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,693
Quote:
Originally Posted by Bub13 View Post
Bumping an old thread b/c of an issue I'm having with this template in v15 -- newly generated cards show the player from chin to navel, rather than the face. Before I tinker too heavily with the xml, does anyone have a quick fix for this? I'll post a screenshot later when I get home, if needed.
This usually happens when the height and width of the PICTURE element doesn't match the 90x135 aspect ratio of a standard FaceGen. Most card XML's are designed with the FaceGen width in mind. In older versions, this didn't matter, but with the new facegen options it does. If you put in a height that's too small, then you get a zoomed in effect.

The height in the default XML should be 309 instead of 242. Change
Code:
<ELEMENT type="image" x="6" y="36" zorder="1" width="206" height="242" content="PICTURE" />
to
Code:
<ELEMENT type="image" x="6" y="36" zorder="1" width="206" height="309" content="PICTURE" />
There might be some other adjustments like adding a set facegen zoom that could enhance these cards, but this should resolve the basic issue you're seeing.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues
Baseball Cards - Full list of known templates and documentation on card development.

Last edited by fhomess; 05-20-2014 at 02:21 AM.
fhomess is offline   Reply With Quote