title: use joomla com_media image selection in my custom component
body: <p>hi 
  i want to use com_media image selection in my own component. the link is:</p>
  
  <pre><code>index.php?option=com_media&amp;amp;view=images&amp;amp;tmpl=component&amp;amp;
  e_name=smallimage
  </code></pre>
  
  <p>the image goes to editor while i want it's address go to </p>
  
  <pre><code>&lt;input class="inputbox" type="text" name="smallimage" id="smallimage" size="40" 
  maxlength="255" value="&lt;?php echo $row-&gt;smallimage; ?&gt;" title=
  "&lt;?php echo JText::_('SMALLIMAGETIP' ); ?&gt;" /&gt;
  </code></pre>
  
  <p>i am using joomla 1.5 </p>
  
  <p>any suggestion? </p>
  
  <p>thanks</p>