Mecha CMS

Mecha CMS blog and documentation.

Thumbnail Generator Plugin

Updated: Sunday, 07 August 2016

Resize and crop an image on the fly.

This plugin allows you to change the image size dynamically using the image offset, width and height parameter in the URL. The resulting image cache will be stored in your browser.

URL Pattern

  • /t/<width>/<path> → proportional image resize
  • /t/<width>/<height>/<path> → proportional image resize and crop
  • /t/<x>/<y>/<width>/<height>/<path> → crop image without resize



  • <width> → the image width
  • <height> → the image height
  • <x> → horizontal position from the original image corner
  • <y> → vertical position from the original image corner
  • <path> → the image path, relative to the lot\assets folder.

Download Latest Version

Donation and Email Subscription