8000 Image manipulation [crop] has no effect · Issue #236 · extcode/cart_products · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Image manipulation [crop] has no effect #236
Open
@peterschoene

Description

@peterschoene

Bug Report

Current Behavior
In my scenario the Image manipulation [crop] has no effect in Frontend rendering.

Expected behavior/output
Images should be cropped.

Environment

  • TYPO3 version(s): 12.4
  • cart version: 9.0.1
  • Is your TYPO3 installation set up with Composer (Composer Mode): yes

Possible Solution
Replace f:image in:

<f:image src="{product.firstImage.originalResource.originalFile.uid}"

with:

<f:image image="{product.firstImage.originalResource}"
                         title="{product.firstImage.originalResource.title}"
                         alt="{product.firstImage.originalResource.alternative}"
                         width="{settings.listAction.media.image.size.small.maxWidth}"
                         height="{settings.listAction.media.image.size.small.maxHeight}" />

Metadata

Metadata

Assignees

Labels

5.xrelated to TYPO3 v127.xrelated to TYPO3 v13

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0