Gallery2:Modules:squarethumb - Gallery Codex
Personal tools


From Gallery Codex

Square Thumbnails Module

Ensures that all thumbnail images are square.


Modifies toolkit behavior so that thumbnails are automatically created with a square aspect ratio, even for images that originally are in landscape or portrait format.


  • Install and activate the Square thumbs module.
  • Configure in site admin to select cropping images to square or scaling images to fit inside a square.
  • N.B. This plugin does not appear to work with just GD installed as a Graphics Toolkit. It does work when you also have ImageMagick.

Note: Activating/Deactivating the module does not affect existing thumbnails until those thumbnails are rebuilt and it requires an active graphics toolkit