I am using a content type with
Image type fields to hold images uploaded to a web site. I want to display these images both on distinct pages (easy) and inline on other pages (almost even easier).
However, I don't want to expose
/sites/default/files/ in the image URL, and I certainly don't want to include it in the image tag's
src attribute when I refer to the image from some other page.
How do I include at an arbitrary location on an arbitrary page an image uploaded like that, without exposing the physical directory structure in the link? I tried using the
URL aliases feature provided by the Path module, but it wouldn't let me point to anything in /sites as such.