This is the JSP function used for building an image tag in HTML.
A Java™ constants file keeps the image path and icon centralized. If the path starts with /smcfs/console/icons, the image file is first searched for inside /extensions/global/webpages/icons/yantraiconsbe.jar (or the localized icons JAR file) and then inside the /webpages/yfscommon/ yantraiconsbe.jar (or the localized icons JAR file). The path to be specified is the path of the image file inside the JAR file.
If the path does not start with /smcfs/console/icons, it retrieves the file from the location specified in the EAR file. It is strongly advised that you place your images under the /console/icons/ directory in the custom icons JAR file (yantraiconsbe.jar).
The path to be specified is the path of the image file inside the JAR file.
If you want to use an image that may be hidden based on modification rule considerations, use the yfsgetImageOptions() function.
getImageOptions(imgfilewithpath, alt)
imgfilewithpath - Required. Full path to the file of the image.
alt - Required. String to use as the alt attribute for the image. This string is displayed when the image cannot be rendered on screen.
<img class="lookupicon" name="search"
<%=getImageOptions (“smcfs/console/icons/shipnode.jpg”
“Search_for_Organization”) %> />