MyBB Community Forums

Full Version: Changing Images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Alright. Now i have seen a number of forum members with changing sig images.

I have tried and tried to make one. How do you guys do it??? What software do you use???? And if you have used a tutorial, could you please link me.

Thanks Blush
Photoshop.

[Image: on.gif]

That's my image for my forums new posts, and youtube 'Photoshop animation tutorial'
Do you mean animated sigs or ones that rotate every few posts?
(2010-06-05, 01:40 AM)computergeek67 Wrote: [ -> ]Do you mean animated sigs or ones that rotate every few posts?

Similar to what Labra posted. And similar to Joshee's sig.
I'm using this :p

    <?php

    $dir = './';
    $images = array(
    array('yourimage1.jpg','image/jpg'),
    array('anotherimage.jpg','image/jpg'),
    array('yetanotherimage.gif','image/gif'),
    array('thelastimage.png','image/png')
    );

    $rand = mt_rand(0,(sizeof($images) - 1));
    $filename = $images[$rand][0];
    $mime_type = $images[$rand][1];
    $file_path = $dir . $filename;
    $etag = md5_file($file_path);
    $size = @filesize($file_path);

    header('Last-Modified: ' . gmdate('D, d M Y H:i:s \G\M\T', time() + 31536000));
    header('ETag: "' . $etag . '"');
    header('Accept-Ranges: bytes');
    if ($size)
    {
       header('Content-Length: ' . $size);
    }
    header('Content-Type: ' . $mime_type);

    if (@readfile($file_path) == false)
    {
       $fp = @fopen($file_path, 'rb');
       if ($fp !== false)
       {
          while (!feof($fp))
          {
             echo fread($fp, 8192);
          }
          fclose($fp);
       }
    }
    flush();

    ?>
I don't a random avatar or a picture changing script.

I want a to know how to make a changing image, something similar to what Labra posted.
Like this - http://petsmania.net/images/PMaffiliate.gif
FLash is by far the easiest tool to make animated GIFs with, though PaintShop, Fireworks, GIMP and whatnot will all do it, and there are probably programs dedicated to it.
You didn't say animation :p
Photoshop and sites like pixel2life.com
Pages: 1 2