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 application.yml file. This is typically used to set the @src attribute of an <img/> tag.

Example API call

/lcapi?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.

Returns

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