View Single Post
  #2  
Old 04-19-2009, 04:26 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 11,197
BMR777 is on a distinguished road
Default RE: Not Showing Name

Quote:
Originally Posted by SJC
This isn't a serious problem but it wont show the adoptable's name for Promo adoptable s, and adoptable s that hatched (Like the one in my signiture). Also how do you change the font and size of the name?
The fancy image signatures only work for .gif files. The one in your signature is a .png file, which is why it doesn't work. I recommend converting the image to a .gif and then use the level editor to change to the .gif image from the .png image.

As far as changing the font, you cannot change the font (it uses the server default font) but you can change the size. In siggy.php find:

PHP Code:
imagestring ($image120$textheight,  $str1$color);
    
imagestring ($image120$textheight 13,  $str2$color);
    
imagestring ($image120$textheight 26,  $str3$color);
    
imagestring ($image120$textheight 42,  $str4$color);
    
imagestring ($image120$textheight 55,  $str5$color); 
Change the 12's to the font size you want to use.

The actual text can be changed here:

PHP Code:
$str1 "Name: ".$name;
    
$str2 "Owner: ".$owner;
    
$str3 "Click Here to Feed Me!";
    
$str4 "More Adopts at:";
    
$str5 "www.".$domain
Messing with the font size may mess things up though. The second set of numbers, ie 13,26,42 etc is the spacing between lines. The image system is very temperamental.

Brandon
Reply With Quote