2 users online. Create an account or sign in to join them.Users

Search

Hello,

I have a question regarding JIT:

Is there a way to crop an image vertically and horizontally in any way?

I have already spent ages trying to achieve this, but to no avail.

This is what I'm stuck with:

<img src="{$root}/image/2/90/90/5/{file/@path}/{file/filename}" />

I've attached an image file to illustrate better what I need.

Thanks for any help.

Just a heads up: The attachment functionality is broken when creating threads but works OK if you post a comment in an existing one. :-)

Sorry, didn't know that. Here we go again. Hope it works now.

Attachments:
cropping.jpg

I'd say

<img src="{$root}/image/3/90/90/5/fff/0/{file/@path}/{file/filename}" />

Yeah, I've tried that before and it works. It would be nice to set the exact amount of cropping that takes place, but I'm afraid that's simply not possible with JIT. Anyway, it's no big deal. Thanks for your help.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details