how to use public:// in page content As content author creates a page, she wants to have something like &lt;img src="public://picture.jpg" /&gt;. Is it possible? the goal is to avoid hard-coded drupal installation path; that is she doesn't want to have &lt;img src="/drupaltest/sites/all/file/picture.jpg" /&gt; on test site and &lt;img src="/sites/all/file/picture.jpg" /&gt; on production site.
you can use one of this function

file_create_url($uri);

or

image_style_url($style_name, $path)