Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display the image in case of Reference fields on admin UI #1476

Closed
tusmester opened this issue Mar 6, 2023 · 0 comments · Fixed by #1525
Closed

Display the image in case of Reference fields on admin UI #1476

tusmester opened this issue Mar 6, 2023 · 0 comments · Fixed by #1525

Comments

@tusmester
Copy link
Member

tusmester commented Mar 6, 2023

As an editor I want to see the actual related/referenced image when editing or browsing a content.

This issue is only about the field control for the Reference field type.

image

  • single and multiref reference fields
  • Browse mode:
    • display the image(s) instead of the current icon (may be bigger)
    • Maximize the image box size to a square
  • New and Edit modes
    • if new referenced images are added, display them the same way
  • display images only for image types, based on content type (if available) or extension
  • if a thumbnail exists --> display that, otherwise fallback to the preview or the original image (there is an api for getting previews and thumbnails)

Out of scope

  • CTD switch on the Reference field LATER
  • upload new images LATER
@tusmester tusmester changed the title Image field control Display the image in case of Image fields on admin UI Jun 27, 2023
@tusmester tusmester changed the title Display the image in case of Image fields on admin UI Display the image in case of Reference fields on admin UI Jul 13, 2023
@VargaJoe VargaJoe linked a pull request Sep 1, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant