i need a script who make this!

Discussion in 'Programming' started by bebe123, Jun 14, 2007.

  1. #1
    It is possible ?
    I need a script that will show up 3 random pictures on the sidebar in my blog.
    Thanks bebe!
     
    bebe123, Jun 14, 2007 IP
  2. Felu

    Felu Peon

    Messages:
    1,680
    Likes Received:
    124
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes it is possible. PM me with more details if you are willing to pay.
     
    Felu, Jun 15, 2007 IP
  3. heartybear

    heartybear Peon

    Messages:
    1,308
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes, this is possible and I find Dan Benjamin's image randomizer.. as I'm not allowed yet to post links, please search for "image rotator" in alistapart dot com
     
    heartybear, Jun 15, 2007 IP
  4. Dadniel

    Dadniel Guest

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Simple job - IM me
     
    Dadniel, Jun 15, 2007 IP
  5. DopeDomains

    DopeDomains Guest

    Messages:
    207
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Fairly straight forward to do.. a 1/2 dozen lines of php regardless of how you want to set it up...

    How do you want to list of possible images? all images in a directory? Database? random image from your past blog posting linked to the post?

    -JasonR
     
    DopeDomains, Jun 15, 2007 IP
  6. mpcovcd

    mpcovcd Peon

    Messages:
    280
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Very Possible like ever one above said heh
     
    mpcovcd, Jun 15, 2007 IP
  7. ndreamer

    ndreamer Guest

    Messages:
    339
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #7
    it's easy to do just use the rand function with a min and max number, you will need to name your images from 0.jpg to 10.jpg.

    <?php
    $min = 0;
    $max = 10;
    $myimagespath = './images';
    echo $myimagespath.'/'.rand($min,$max).'.jpg';
    ?>
    Code (markup):
     
    ndreamer, Jun 18, 2007 IP