Epic #77810: Improve (responsive) image handling
Apply image cropping to click-enlarge NOT
With having resolved Bug #72798 images cropped in backend are now also cropped if click-enlarged. But what if thats exactly what you DO NOT want? What if you want to crop the images as thumbnails BUT display fullsize with click-enlarge? Is there an option to configure that? There is plenty of possible situations you might want to do that ...
#1 Updated by Georg Ringer about 3 years ago
- Status changed from New to Needs Feedback
Did you check out the related changes like https://review.typo3.org/#/c/46114/5/typo3/sysext/css_styled_content/static/setup.txt or https://review.typo3.org/#/c/46114/5/typo3/sysext/fluid_styled_content/Configuration/TypoScript/Static/Setup/lib.fluidContent.ts if using fluid_styled_content?
removing the crop field in TS should be enough to get the previous behaviour back.
#5 Updated by Martin Weisbach over 2 years ago
Alexander Opitz wrote:
what is the state of this issue? Did I understand it correctly, that you could solve it with changed TS?
Yes, thats's right. If you put
The images are cropped as thumbnail but displayed in full size on click-enlarge ...
#7 Updated by Martin Weisbach over 2 years ago
- Status changed from Closed to New
Now moving on from css_styled_content to fluid_styled_content we have the same issue again.
doesn't solve the problem in fluid.
Further on, I can not see, that the problem has been solved for the end user. It is still not possible to choose if you want the pictures on click enlarge to display in full size OR only the cropped part you chose for the thumbnail...
#14 Updated by Sebastian Klein 11 months ago
Just as Georg wrote in the very first comment: all you need is to remove the crop field in TypoScript. In TYPO3 v8 and fluid_styled_content, this is:
This allows to crop the thumbnail images and use the original picture ratio on click-enlarge (lightbox).
However, this applies to all lightbox images. It's currently not possible for an editor to choose between crop and original (for click-enlarge) on a single image.