Documentation Center

Load skin image

Loads a binary image resource from the etc/skins/SKIN_NAME/images directory. This skin folder will be found at the file location defined by the app.docs_root configitem in the wietmsd.xml configuration. This is typically used to set the @src attribute of an <img/> tag.

Example API call

/servlets3/wietmsd?id=1459258522338&date=1459947343895&target=resource&action=image&file_name=admin.png

Parameters

ParameterDescription
targetresource
actionimage
file_nameThe full name of the skin image to load, such as admin.png.
idA session ID that was retrieved with or without a specific collection and publication combination
dateTo prevent browser-side caching of data, especially with AJAX requests, it is important to make a URL unique. The most effective technique to accomplish this is to include a time parameter that is based on the time at which the call is made.

Returns

On success
The binary image file as requested.
On failure
A message indicating that the requested image file was not found.