SiteVision Onlinehelp
Search

sv:image

An image node is always located in an image repository (sv:imageRepository) or a local image repository (sv:localImageRepository). It has no children.

Images are either located in the image archive available in top-left file archive frame or locally stored for a page, template or article.

Node name
NameType and description
<image-name>Dynamic / Model dependent
 The given name of the image
Properties
NameType and description
URIjavax.jcr.PropertyType.URI
 The relative URI of the image
displayNamejavax.jcr.PropertyType.STRING
 The file name of the image
descriptionjavax.jcr.PropertyType.STRING
 A given description of the image (longdesc)*
URLjavax.jcr.PropertyType.URI
 The absolute URI of the image
visibleInMenusjavax.jcr.PropertyType.BOOLEAN
 Indicates whether or not the file is visible in menus
localejavax.jcr.PropertyType.STRING
 Language settings
robotsIndexjavax.jcr.PropertyType.BOOLEAN
 Indicates whether or not the file may be indexed by a web robot
altjavax.jcr.PropertyType.STRING
 The alternative text for the image (description)*
widthjavax.jcr.PropertyType.STRING
 Size properties for the image (e.g. 100)
heightjavax.jcr.PropertyType.STRING
 Size properties for the image (e.g. 100)
mimeTypejavax.jcr.PropertyType.STRING
 The file mime type
fileNamejavax.jcr.PropertyType.STRING
 The physical file name
lengthjavax.jcr.PropertyType.LONG
 The length of the file [@since SiteVision 2.6.2_03]
resourcePriorityjavax.jcr.PropertyType.LONG
 The search resource priority, influences document boost when indexed [@since SiteVision 3.6.4]

* Note that the "description" property corresponds to the "longdesc" setting of the image and the "alt" property corresponds to the "description" setting. See screenshot below:

SiteVision Utility API tip!

  • ​The ImageUtil interface exposes a set of methods for creating a sv:image.
  • The ImageRenderer can be used to render a sv:image in different sizes.
  • The ImageLinkRenderer can be used to render a linked sv:image in different sizes.
  • The LinkRenderer interface can be used to render a plain link to a sv:image.
  • The actual binary content of a sv:image can be read via an InputStream of a Binary. The PropertyUtil interface exposes a set of methods for getting the Binary for a sv:image.
  • The StructureUtil interface exposes a set of methods to move a sv:image to another parent.
  • The TrashcanUtil interface provides a set of methods to remove or restore a sv:image.

Last updated:

se-sto-ste-sv5-1.sitevision-cloud.net
18.222.67.251