I recently discovered http://www.tinypic.com/, superb is you need to refer to an image of some kind on a forum etc, where you cannot post an image. It would be cool to have a search that worked just like tinyurl does, where one passes it the path to the image and the url gets posted in the bar. Here's a wizard generated start which _does_ not work if anyone is in the mood for some debugging and polishing :-)

Cheers, Tom.
<search function="tinypic">
  <name>tinypic</name>
  <category></category>
  <contributor></contributor>
  <link>http://www.tinypic.com/</link>
  <email></email>
  <description>Upload picture and get link to share on MySpace, eBay, blogs and message board 
  </description>
  <form name="tinypicf"
        method="post"
        action="http://www.tinypic.com";>
    <input type="hidden" name="direct" value="true" />
    <input type="hidden" name="action" value="addpic" />
    <input type="hidden" name="mediatype" value="image" />
    <input type="hidden" name="mediatype" value="video" />
    <input type="hidden" name="the_file" value="" />
    <input type="hidden" name="the_tag" value="" />
    <input type="hidden" name="submit" value="Upload Image" />
  </form>
  <script><![CDATA[
    function tinypic(q)
    {
      if( nullArgs("tinypic", q) )
        return;

      // FORM variables for tinypicf
      //document.tinypicf.direct.value = "";
      //document.tinypicf.action.value = "";
      //document.tinypicf.mediatype.value = "";
      //document.tinypicf.mediatype.value = "";

      document.tinypicf.the_file.value = q;
      //document.tinypicf.the_tag.value = "";
      //document.tinypicf["submit"].value = "";

      submitForm(tinypicf);
    }
  ]]></script>
  <copyright>
    The following applies if this file is included and distributed with Dave's Quick Search Deskbar:
    Copyright (c) 2002 David Bau; Distributed under the terms of the GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  </copyright>
</search>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
DQSD-Users@lists.sourceforge.net
http://sourceforge.net/mailarchive/forum.php?forum_id=8601

Reply via email to