Feature #25078
closedCropping support for content element images
0%
Description
Would'nt it be useful to make imagecropping work in content elements with images, like in typoscript with the "c"-Parameter?
For example if you want to display a list of various images with the same aspect ratio, the first you would do is to specify a width and height. - One of the two values with a "c"-Parameter to be added, to ensure, that the images are cropped to the same size.
Right now, this can only be applied with extra typoscript, as the inputs in the content elements do not accept additional parameters for width and height of the images.
(issue imported from #M17642)
Updated by Sigfried Arnold over 13 years ago
One option is to to simply change evaluation for imageheight and imagewidth to string (from currently integer) - disadvantage is, that you can enter '200x','foo' or any other string - not just an integer followed by an optional c - therefore a custom validation function must be used.
Another disadvantage is that the c-Suffix does very odd calculations.
if you want cropping with proper aspect ratio and selectable gravity for the cropping - there need to be extra settings
there is an extension in the repository for that - maybe you give that a try first:
http://typo3.org/extensions/repository/view/image_crop/current/
Updated by Mathias Schreiber almost 10 years ago
- Description updated (diff)
- Status changed from New to Closed
- Target version deleted (
0)
We are currently tackling this issue in another bucket.