Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Jul 2008
    Posts
    535
    Tokens
    75

    Default

    The image “http://xxx.com/box/” cannot be displayed, because it contains errors.
    I get that when using your code (--ss--).

  2. #12
    Join Date
    Aug 2005
    Location
    London
    Posts
    9,773
    Tokens
    146

    Latest Awards:

    Default

    Quote Originally Posted by BOX! View Post
    I get that when using your code (--ss--).
    Put it right at the top before anything else .

  3. #13
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    you need to use php-gd commands to generate the image.

    more simple to just leave it as you had originally.
    Coming and going...
    Highers are getting the better of me

  4. #14
    Join Date
    Jul 2008
    Posts
    535
    Tokens
    75

    Default

    Quote Originally Posted by MrCraig View Post
    you need to use php-gd commands to generate the image.

    more simple to just leave it as you had originally.
    I want to use it in my sig, so that's why I want to turn it into an image.

  5. #15
    Join Date
    Jul 2008
    Posts
    535
    Tokens
    75

    Default

    Nevermind, I figured it out.

  6. #16
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default

    or look @ this

    http://www.habboxforum.com/showthrea...02#post4881002

    Editing the other stuff out, you should get yourself an image rotation.
    Hi, names James. I am a web developer.

  7. #17
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    PHP Code:
     <?php

    $images 
    = array( "lol""wut""dongs" );

    $random rand0, ( sizeof$images ) - ) );
    $file $images$random ] . '.gif';

    $size filesize$file );

    header"Content-Type: image/gif" );

    $f fopen$file"r" );

    while( 
    $buf fread$f$size ) )
    {

        print 
    $buf;
        
    }

    fclose$f );

    ?>
    You could use something like that if you don't want to waste server resources generating an image using php gd everytime someone loads the image.

    (You could easily just use file_get_contents but there was a reason I used fopen, lol).

Page 2 of 2 FirstFirst 12

Posting Permissions

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