I get that when using your code (--ss--).Quote:
Printable View
I get that when using your code (--ss--).Quote:
you need to use php-gd commands to generate the image.
more simple to just leave it as you had originally.
Nevermind, I figured it out.
or look @ this
http://www.habboxforum.com/showthrea...02#post4881002
Editing the other stuff out, you should get yourself an image rotation. :)
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.PHP Code:<?php
$images = array( "lol", "wut", "dongs" );
$random = rand( 0, ( sizeof( $images ) - 1 ) );
$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 easily just use file_get_contents but there was a reason I used fopen, lol).