make this and add text on hot mug and share it with your friends [insert_php] include 'text.php'; include 'ads1.php'; include 'giffile.php'; $image = imagecreatefrompng('template-gif/mug-iu-01.png'); imagealphablending($image, false); imagesavealpha($image, true); $facebook_white = imagecolorallocate($image, 181,138,101); // Create blue color imagealphablending($image, true); //bring back alpha blending for transperent font imagettftext($image, 25, 0, 12,91, $facebook_white , $font2, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=25; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/mug-iu-02.png'); imagealphablending($image, false); imagesavealpha($image, true); $facebook_white = imagecolorallocate($image, 206,163,131); // Create blue color imagealphablending($image, true); //bring back alpha blending for transperent font imagettftext($image, 25, 0, 12,91, $facebook_white , $font2, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=25; // Delay in the animation. ob_end_clean(); $gif = new GIFEncoder($frames,$framed,0,2,0,0,0,'bin'); $fp = fopen( "giftmp/$fn.gif", 'w' ); fwrite($fp, $gif->GetAnimation()); fclose($fp); imagedestroy($image); [/insert_php] [insert_php] include '1name.php' ; include 'gifvip.php' ; [/insert_php]