/.ibmxspres/domino/oneuiv2/goldTheme/goldTheme.css
So I could reference iconConfirmation16.png in my Program Files\IBM\Lotus\Domino\data\domino\html\oneuiv2\images folder with the following code:
"/.ibmxspres/domino/oneuiv2/images/iconConfirmation16.png"
NB The html subfolder must be omitted from the path, if you include that, it'll fail.
If you want to reference images for the oneui or webstandard themes, in \domino\java\xsp folder and subfolders, you need to use "/.ibmxspres/global". So this will give you the calendar date picker image used beside date fields with the oneui theme:
"/.ibmxspres/global/theme/common/images/iconDatePicker.gif"
Action button icons and view icons are slightly easier to reference. There is no special method to access the icons subfolder, you just need "/ibmxspres/domino/icons", e.g. "/.ibmxspres/domino/icons/vwicn101.gif".
And if you've got already got a column set to display view icons, the following server-side javascript will work:
"/.ibmxspres/domino/icons/vwicn" + @Right("00"+@Text(myDoc.getColumnValue("Status")),3) + ".gif"
NB The icon is a number, so not necessarily three digits. The @Right code forces to three digits prefixed with the relevant number of zeros to create the right image name.
Also, from looking at the oneuiv2 themes you should be able to access the dojo folders with the url "/.ibmxspres/dojoroot/". I haven't tried this, but again, because it works in themes, it should work in image urls.
These urls will allow you to use any of server-based images quickly and easily with minimal typing.