Image Processing Plugin
| Server-side resize of downloaded images |
| Type | JAR |
| Category | API |
| Developed by | |
| Rating | |
| License | GNU Lesser General Public License 2.1 |
Description
Extension that does a server-side resize of images when they are accessed through the download action.
Configuration
The images are by default resized on the server-side in order to reduce the amount of data transferred to the client (your browser). As a consequence the quality of the image is reduced. However, you can improve it in 2 ways:
- Configure XWiki to not resize the avatar image at all by setting the following in xwiki.properties:
rendering.imageDimensionsIncludedInImageURL = false - Configure the image quality by setting the following in xwiki.cfg:
xwiki.plugin.image.defaultQuality = xwhere x is a number between 0 and 1. The default quality is 0.5. Of course, the amount of data transferred to the client increases with the quality (and size) of the image.
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-processing-plugin 18.4.0):
- org.xwiki.platform:xwiki-platform-image-processing-api 18.4.0
- org.xwiki.platform:xwiki-platform-oldcore 18.4.0