Search

Hi all,

I’ve been trying to implement the imagecropper extension which is working fine in the back end and is passing the following XML through to my templates:

<main-image-crop cropped="yes" x1="28" x2="203" y1="31" y2="215" width="175" height="184" ratio="0.95" />

Hoever when I try and use these values with JIT I’m running into issues. The JIT documentation seems to refer to only 3 modes whereas the imagecropper documentation says I should be using a 4th mode such as /image/4/cropwidth/cropheight/cropx/cropy/resizewidth/resizeheight/

When I try an image URL along those lines I just get a broken link. I’ve made sure I have the latest version of JIT (currently 1.09) and I’m running imagecropper 1.0RC1 on an install of Symphony 2.1.1.

Does anyone have any ideas?

Thanks,

Ben

Hi Ben,

you have to checkout/download the jCop branch of my JIT fork.

from documentation to image cropper extension:

Requirements: Modified JIT Image Manipulation extension for frontend and entry list output: http://github.com/klaftertief/jitimagemanipulation/tree/jCrop

Ah I completely missed that bit, my bad. Thanks for the help guys.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details