cogCode relate to image styles configuration.
TypeJAR
CategoryAPI
Developed by

XWiki Development Team

Rating
0 Votes
LicenseGNU Lesser General Public License 2.1
Bundled With

XWiki Standard

Compatibility

14.3RC1+

Installable with the Extension Manager

Description

This module provide the Java APIs of the Image Style Extensions.

Image Style Manager

/**
 * Gives access to the image styles of the wiki.
 *
 * @version $Id: e4c60400ac8104e836d33f71ad168a2e83959f63 $
 * @since 14.3RC1
 */

@Role
@Unstable
public interface ImageStyleManager
{
   /**
     * The list of styles for a given wiki.
     *
     * @param wikiName the wiki name (e.g. {@code xwiki})
     * @return the list of styles for the given wiki
     * @throws ImageStyleException if an error occurs while retrieving the image styles
     */

    Set<ImageStyle> getImageStyles(String wikiName) throws ImageStyleException;
}

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.

Dependencies

Dependencies for this extension (org.xwiki.platform:xwiki-platform-image-style-api 14.5):

  • org.xwiki.commons:xwiki-commons-stability 14.5
  • org.xwiki.platform:xwiki-platform-configuration-default 14.5
Tags:
    

Get Connected