Image Preview script please any1 ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Image Preview script please any1 ?

    Hi , im new to coding talk , and i just need help with finding a image preview script , eg that allows visits to preview images on my website if any 1 can help me please do let me know , thank you in advance ...

    #2
    1st of all elcome to our comunity friend.

    wel for which site u want to get this code.
    Sandeep DiL (INDIAN)



    Comment


      #3
      i think u are the owner of darkchild which is now toxicwap. m right?
      Sandeep DiL (INDIAN)



      Comment


        #4
        for my mobile website , ToxicWap.com ... or if any1 can get me a script like spicyfm.com , im willing to pay

        Comment


          #5
          and thats for welcoming me

          Comment


            #6
            a simple wapbaddy script with photo thumbnail enjoy.........................

            ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            <?
            header("Content-type: text/vnd.wap.wml");
            echo "<?xml version=\"1.0\"?>";
            echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""." \"http://www.wapforum.org/DTD/wml_1.1.xml\">";

            include("sklsittings.php");

            if (!isset($page)) {$page = 0;}
            $total = 0;

            if(!($dp = opendir("./"))) die ("Cannot open ./");
            $file_array = array();
            while ($file = readdir ($dp))
            {
            if(substr($file,0,1) != '.' and $file != "index.php" and $file != "search.php")
            {
            $file_array[] = $file;
            }
            }
            $file_count = count ($file_array);
            sort ($file_array);
            ?>
            <wml>
            <card id="card1" title="Your Site Name [Sklifbd.CoM]">
            <p mode="nowrap">

            <?

            echo "<small><br/>";

            echo "<b><u>Enjoy Those Item</u></b><br/>";

            if ($file_count > 0)
            {
            $first_record = $page * $conf["items_per_page"];
            $last_record = $first_record + $conf["items_per_page"];

            while (list($fileIndexValue, $file_name) = each ($file_array))
            {

            if (($fileIndexValue >= $first_record) AND ($fileIndexValue < $last_record))
            {

            echo "<img src=\"skl-$file_name.gif\" alt=\"thumb\"/><a href=\"$file_name\">$file_name</a> (". round(filesize($file_name)/1024,1) . "kb)<br/>------<br/>";
            $total = $total + filesize($file_name);
            }
            }

            if (($file_count > 0) AND ($page != 0))
            {
            // previous button
            $prev_page = $page -1;
            echo "<br/><a href=\"".$_SERVER["PHP_SELF"]."?page=$prev_page\">Prev Page</a><br/>";
            }


            if (($file_count > 0) AND ($last_record < $file_count))
            {
            // next button
            $next_page = $page + 1;
            echo "<br/><a href=\"".$_SERVER["PHP_SELF"]."?page=$next_page\">Next Page</a><br/>";
            }
            echo "<br/>Total Files:<br/>$file_count ";
            if ($file_count == 1)
            {echo "file";}
            else
            {echo "files";}

            echo " (" . round($total/1024,1) . "kb)";
            }
            closedir($dp);
            echo "</small>";
            ?>
            <br/><small>Search This Category:</small><br/>
            <input title="Search:" emptyok="true" name="q"/><br/><small>
            <a href="search.php?search=$(q)">search</a></small><br/>
            <small>page: $page</small><br/><small>Jump To Page</small><br/>
            <!--w--><input type="text" name="page" title="1-34 pages only" maxlength="20" size="03" value=""/><small><br/>
            <anchor><go href="index.php" method="post"><postfield name="page" value="$(page)"/></go>[GO]</anchor></small><br/><br/>

            <small><a href="http://coding-talk.com/f29/index.php">MenU</a></small>
            </p>
            </card>
            </wml>
            /////////////////////////////// put this coding on your image folder on index.php///////////////////////////////////////////////////////////////
            <?
            // SETTTINGS
            $conf["site_name"] = "Sklifbd.CoM;"; // the name of your site
            $conf["welcome_message"] = "Powered by: ShaK!L"; // default greeting

            $conf["items_per_page"] = 10; /// item on page

            $conf["dirs"] = array ( // folders which store downloads
            "Wallpaper"
            ,"Animation"
            ,"Ringtones"
            ,"Games"
            ,"Application"
            ,"Themes"
            ,"Antivirus"
            ,"Funny"
            ,"Songs"
            //,your new folder (don't forget the comma)
            );

            ?>
            ////////////////////////////////////put this coding on sklsittings.php ////////////////////

            then creat small image to thumb by name skl-yourfilename.gif and main image to download by name yourfilename.jpg/others like .... if ur image name love.jpg so ur thumb file will be skl-love.gif ok

            Comment

            Working...
            X