Skip to content

Image Mode setting#509

Merged
brandonkelly merged 10 commits into5.xfrom
feature/image-mode
Mar 2, 2026
Merged

Image Mode setting#509
brandonkelly merged 10 commits into5.xfrom
feature/image-mode

Conversation

@brandonkelly
Copy link
Member

@brandonkelly brandonkelly commented Feb 27, 2026

Description

Adds a new “Image Mode” setting, which allows fields to choose whether newly-added images should be inserted as <img> tags (default) or nested entries.

The new “Image Mode” setting, showing “Image tags” and “Nested entries” options. “Nested entries” is selected. A subsequent “Image Field” setting is also shown, with “Image → Image” selected.

When “Nested entries” is selected, the “Default Upload Location”, “Available Transforms”, and “Default Transform” settings are hidden, and replaced with an “Image Field” setting, where you can select the entry type/Assets field which should store newly-added images.

In “Nested entries” mode, the asset selector that opens when pressing the “Insert image” button will be limited to the same asset sources/subpath available to the Assets field selected by the “Image Field” setting. And dragging an image onto the field will place it in the field’s Default Upload Location.

Either way, once an image is selected/uploaded, a new nested entry will be created based on the selected entry type, with the Assets field populated with the new image.

CleanShot.2026-02-27.at.09.05.56.mp4

Related issues

@brandonkelly brandonkelly requested a review from i-just February 27, 2026 17:08
@brandonkelly brandonkelly merged commit e658961 into 5.x Mar 2, 2026
4 checks passed
@brandonkelly brandonkelly deleted the feature/image-mode branch March 2, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant