Task #79961

Epic #77810: Improve (responsive) image handling

Story #75880: Add art direction capabilities to BE

Implement/document method to define available cropVariants on table.field/table.type level

Added by Frans Saris over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2017-02-23
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:
Stabilization Sprint

Description

Now it's possible to define multiple crop variants for an image (sys_file_reference) there is the need to restrict the shown cropVariants this for each table.field in the BE forms.

This to improve the UI and UX for the editor as in most use-cases only 1 or a few crop variant are needed for a specific field. For example the header image has different crop variants then a teaser image.

It should be possible to define the available crop variants on table_name.field_name and maybe also on table_name.{type}


Related issues

Related to TYPO3 Core - Feature #72620: Provide different crop presets depending on the context for image sys_file_references Closed 2016-01-10
Related to TYPO3 Core - Task #80296: Resort TcaOverrideChildCroppingConfiguration provider Rejected 2017-03-15

Associated revisions

Revision 3094854d (diff)
Added by Helmut Hummel over 2 years ago

[BUGFIX] Add possibility to define crop variants per table

Currently it is not possible to define crop variants per
table or content type. This makes this feature a lot less useful
as it could be.

Add a form data provider to make this possible.

Also fix the issue that the full size image is used instead of
a smaller variant in the interface and hide the cropping
tool if no image size can be determined (happens for some SVGs).

Focus area now also works when no cover areas are defined.

Resolves: #80105
Resolves: #80157
Resolves: #79961
Releases: master
Change-Id: I3333a59c84b6f55f7bf300663ea2ff52bf70e698
Reviewed-on: https://review.typo3.org/51951
Reviewed-by: Georg Ringer <>
Tested-by: Georg Ringer <>
Tested-by: TYPO3com <>
Reviewed-by: Joerg Boesche <>
Tested-by: Joerg Boesche <>
Reviewed-by: Helmut Hummel <>
Tested-by: Helmut Hummel <>

History

#1 Updated by Frans Saris over 2 years ago

  • Description updated (diff)

#2 Updated by Josef Glatz over 2 years ago

Just for reference: https://github.com/sup7even/image_cropper_configuration (maybe anything of that could be helpful)

#3 Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51951

#4 Updated by Gerrit Code Review over 2 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51951

#5 Updated by Gerrit Code Review over 2 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51951

#6 Updated by Gerrit Code Review over 2 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51951

#7 Updated by Gerrit Code Review over 2 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51951

#8 Updated by Gerrit Code Review over 2 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51951

#9 Updated by Gerrit Code Review over 2 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51951

#10 Updated by Gerrit Code Review over 2 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51951

#11 Updated by Helmut Hummel over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#12 Updated by Riccardo De Contardi almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF