Results 1 to 5 of 5

Thread: Add a border around the thumb!

  1. #1
    Join Date
    May 2005
    Location
    China & France
    Posts
    6,492

    Default Add a border around the thumb!

    Open a core.func.php,line 556-563:

    Code:
    if($info==1)
        {
            $d_img = imagecreatetruecolor($info_x, $info_y);
            $black = ImageColorAllocate($d_img, 0, 0 ,0 );
            $white = ImageColorAllocate($d_img, 255, 255 ,255 );
            $imagestring ($d_img, $font, $str_x, $str_y,  $string, $white);
            imagecopyresized($d_img, $s_img, 0, 0, 0, 0, $new_x, $new_y, $old_x, $old_y);
        }
    Change to:
    Code:
    if($info==1)
        {
            $d_img = imagecreatetruecolor($info_x+2, $info_y+1);
            $black = ImageColorAllocate($d_img, 0, 0 ,0 );
            $white = ImageColorAllocate($d_img, 255, 255 ,255 );
            $imagestring ($d_img, $font, $str_x, $str_y,  $string, $white);
            imagecopyresized($d_img, $s_img, 1, 1, 0, 0, $new_x, $new_y, $old_x, $old_y);
        }
    Example:




  2. #2

    Default

    Thanks alot ..

    i think this should be in the standard

  3. #3
    Join Date
    May 2005
    Location
    China & France
    Posts
    6,492

    Default

    yes,we will add it in next version.

  4. #4

    Default

    This is really mod Yabsoft
    Imagefilez.com - Free Image Hosting
    BigDirectoryBid.com - Bidding Web Directory
    DirectoryTotal.com - Web Directory Blog

  5. #5

    Default

    i tried this now and i dont get it working. something more i have to do?

    core.func.php under /aihsserver/includes/ right?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •