#77531Get cropped image in Fluid width <f:image /> and similar
Description
Hallo,
it is a great feature to crop images directly in TYPO3.
Now I want to build a menu of subpages with images from the page media ressource. First problem: the page-object only gives the amount of media, not an array of media-objects, so you need some vhs-viewhelpers. I used a part of this script:
[https://www.rutschmann.biz/blog/post/typo3-7-lts-fluid-styled-content-spezialmenue-auflistung-der-unterseiten-mit-bild-aus-seiteneigens/]
So I do not have access of the image object therefor I can’t use <f:media></f:media> like the fluid_styled_content MediaGallery.html partial. That needs an object and returns the cropped image.
The media-array in that specific script returns a string “crop” = {“x”:278.14336188436846,“y”:0,“width”:1955.5631691648816,“height”:5180.299785867236,“rotate”:0,“s caleX”:1,scaleY
Maybe it is possible to apply that crop to the <f:image></f:image>.
Thanks
Martin
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.