Review main Abandoned

64906[WIP][BUGFIX] Allow social images to have default processing configuration

Benni Mack CR 0 V 0 Easy +9 −8 updated 06/22/20, 09:53

Commit message

EXT:seo renders og:image and twitter:image by default using the cropping
functionality, however it is not possible to actually resize the image.

One of TYPO3's strengths is that the frontend can resize images even
though editors have uploaded a huge file (in terms of size or width), but
this does not apply yet to the MetaTagGenerator of EXT:seo.

For this reason, it is now possible to inject defaults to the "og:image" and
"twitter:image".

page.meta.defaults.og:image.maxW = 2000c

I would actually consider that TYPO3 Core should use sensible defaults by
default instead of configuring this via TypoScript (as I've done now)
to resize the images (maxW = 2000) for things generated by EXT:seo.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Files 1