public static ImageItem create(final ImageParams imageParams) {
        // Ensure that the uid will be unique at runtime
        return ImageItemImpl.create().uid(imageIdGenerator.incrementAndGet()).set(imageParams);
    }
public static ImageItem create ( final ImageParams imageParams ) { return ImageItemImpl . create ( ) . uid ( imageIdGenerator . incrementAndGet ( ) ) . set ( imageParams ) ; }
Build an image item.

Take care of the value used for ({@link CoreParameters#IMAGE_FOLDER}) which will be prepend to the image path.

@param imageParams the primitive values for the image

@return a new fresh image item object