Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-30-2017, 09:15 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 161,456
Abronsyth is on a distinguished road
Default

That's curious, I compared it to mine/from my site and though they are being generated in the same format, mine is working.

So comparing my levelup.php to yours, I do see distinct differences in the siggy function. Majorly in that you have this chunk here...which does not exist at all in mine:
PHP Code:
elseif(function_exists('imagepng') and $usegd == "yes" and $imagemime == "image/png"){ 
            
$usingimage "yes"//Turn the template system off 
            
$type $this->adopt->getType(); 
            list(
$width$height$type$attr) = getimagesize($image); // The size of the original adoptable image 

            // Lets create the new target image, with a size big enough for the text for the adoptable 
            
$newheight $height 72
            
$newwidth = ($newwidth 250)?250:$width
            
$img_temp imagecreatetruecolor($newwidth$newheight);  
            
$alphablending true;   
          
            
// Lets create the image and save its transparency   
            
$img_old = @imagecreatefrompng($image);   
            
imagealphablending($img_oldtrue);   
            
imagesavealpha($img_oldtrue); 
    
            
// Lets copy the old image into the new image with   
            
ImageCopyResampled($img_temp$img_old0000$width$height$width$height);     
            
$textheight $width 2
            
$image $img_temp
            
$bgi imagecreatetruecolor($newwidth$newheight); 
            
$color imagecolorallocate($bgi515151); 
          
            
// Build text for siggy 
            
$str1 "Name: ".$this->adopt->getName(); 
            
$str2 "Owner: ".$this->adopt->getOwner(); 
            
$str3 "Click Here to Feed Me!"
            
$str4 "More Adopts at:"
            
$str5 "www.".constant("DOMAIN"); 

            
// Renger Image 
            
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); 
            
$background imagecolorallocate($image000);   
            
ImageColorTransparent($image$background);   
  
            
// At the very last, let's clean up temporary files 
            
header("Content-Type: image/PNG"); 
            
ImageGif ($image); 
            
imagedestroy($image); 
            
imagedestroy($img_temp); 
            
imagedestroy($img_old); 
            
imagedestroy($bgi); 

        } 
Aside from that everything else is the same...so maybe something to do with that?
__________________
My Mods Site (1.3.4, 2020 Mods)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:39 PM.

Currently Active Users: 1646 (0 members and 1646 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636