Opened 4 years ago

Closed 4 years ago

#1275 closed enhancement (fixed)

Implement support for rotating thumbnail images

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Thumbnails v1.2
Component: net.sf.basedb.thumbnails Keywords:
Cc:

Description

This could be specified in the request URL as a parameter in the same manner a size is specified.

Change History (4)

comment:1 by Nicklas Nordborg, 4 years ago

In 6043:

References #1275: Implement support for rotating thumbnail images

Rotation is now supported by setting "rotate" parameter in request URL for a thumbnail image. Supported values are:

  • CW_90: Clockwise 90 degrees
  • CW_180: Clockwise 180 degrees
  • CW_270: Clockwise 270 degrees
  • FLIP_HORZ: Flip horizontally
  • FLIP_VERT: Flip vertically


Rotation has been implemented for regular images and PDF documents, but not for SVG images.

comment:2 by Nicklas Nordborg, 4 years ago

In 6044:

References #1275: Implement support for rotating thumbnail images

Implemented support for rotating SVG images.

comment:3 by Nicklas Nordborg, 4 years ago

In 6047:

References #1274 and #1275. Added support for setting rotation and image index in the proxy tags for thumbnails.

comment:4 by Nicklas Nordborg, 4 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.