FieldtypeCropImage by apeisa

Three modules that offer nice thumbnail cropping for ProcessWire. Fully compatible with normal image field.

How to install
==============

Just add files and folders to your site/modules/ folder and install one of the modules (it installs others). After that create new field or edit existing image field and make it use fieldtype "CropImage".

You can change the settings for each field in the Setup->Files->CropImageField Input tab:

thumbnail,100,100
portrait,100,150
largethumb,200,200,basic-page,home


Usage on templates
==================

FieldtypeCropImage adds getThumb-method to Pageimage. getThumb returns url to the thumbnail you have asked for, ie:
echo $page->images->eq(0)->getThumb('thumbnail');

If you haven't cropped that thumbnail yet, this module provides default cropping from center


Credits
=======

Developed by Antti Peisa (twitter.com/apeisa)
Sponsored by http://stillmovingdesign.com.au/ (thanks Martin!)

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Latest news

  • ProcessWire Weekly #519
    In the 519th issue of ProcessWire Weekly we'll check out a new third party module called RockForms, introduce the latest ProcessWire core updates, and more. Read on!
    Weekly.pw / 20 April 2024
  • ProFields Table Field with Actions support
    This week we have some updates for the ProFields table field (FieldtypeTable). These updates are primarily focused on adding new tools for the editor to facilitate input and management of content in a table field.
    Blog / 12 April 2024
  • Subscribe to weekly ProcessWire news

“…building with ProcessWire was a breeze, I really love all the flexibility the system provides. I can’t imagine using any other CMS in the future.” —Thomas Aull