title: Drupal 7 function to format an image URL?
body: <p>I am creating a module in Drupal 7. If I want to format a UNIX timestamp into a date I can use the format_date function, like so:</p>
  
  <pre><code>$date = format_date($node-&gt;created, 'custom', 'j F Y');
  </code></pre>
  
  <p>Is there also a function I can reference to format an image? Say my database query returns</p>
  
  <pre><code>picture-4-136576449.png
  </code></pre>
  
  <p>from a table and I want to transform it into:</p>
  
  <pre><code>&lt;img src="/images/picture-4-136576449.png /&gt;
  </code></pre>
  
  <p>is there a function to do it? Thanks.</p>