[GH-ISSUE #2905] [Issue]: Present Characters agent avatar uses fixed square crop instead of user-defined bounding box #1486

Closed
opened 2026-10-21 05:36:37 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Jun 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2905

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The Present Characters agent displays avatars with a fixed centered square crop, which can cut off important parts of rectangular images. This causes inconsistent framing compared to other parts of the platform.

Expected behavior

The Present Characters agent should render avatars using the user-defined avatar crop boundary so the displayed image matches the intended framing.

Actual behavior

The agent uses a default square bounding box, which can crop rectangular avatars awkwardly and show the torso instead of the head.

Steps to reproduce

  1. Use a rectangular avatar image for a Present Characters agent.
  2. Open the agent display and observe the avatar framing.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Attached screenshot in Discord thread: Screenshot_2026-06-26_075838.png

Additional context

Reported as a feature request. The thread notes that other system components already use the dedicated user-defined bounding box for avatar display, and this change would improve visual consistency.

Discord thread: [Feature Request] Change Present Characters agent's avatar display
Thread link: https://discord.com/channels/1417099416812392641/1520038888767361044
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (2 messages)
[2026-06-26T12:11:52.039Z] AgentX: **What problem does this solve?**

The Present Characters agent currently displays avatars using a fixed, default bounding box (a standard square centered on the image). This method fails when presented with rectangular avatar images, often resulting in an inconsistent visual output that crops out the character's head and instead shows their torso.

**Proposed solution**

Modify the rendering logic for the Present Characters agent to utilize the user-defined avatar crop boundary. By adopting this dedicated bounding box for display, the character avatars will remain consistent with how other system components display character avatars, regardless of the source image aspect ratio.

**Alternatives considered**

The current behavior (using a fixed default square crop) is functional but visually unacceptable due to the resulting inconsistent framing and cropping of critical parts of the avatar (like the head). Using the dedicated bounding box ensures the optimal portrayal of the character within the agent's interface.

**Additional context**

Implementing this change will ensure visual consistency across all areas where avatars are displayed throughout the platform, improving the overall user experience when interacting with Present Characters agents.

[attached image 1: https://cdn.discordapp.com/attachments/1520038888767361044/1520038889056763994/Screenshot_2026-06-26_075838.png?ex=6a41b848&is=6a4066c8&hm=2fd34f4567bf671a64e09e030510b636981684c2c908507d8f313c4b468f5121&]
[Discord message: https://discord.com/channels/1417099416812392641/1520038888767361044/1520038888767361044]

[2026-06-28T09:40:56.004Z] Marinara: On it.
[Discord message: https://discord.com/channels/1417099416812392641/1520038888767361044/1520725680734732389]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jun 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2905 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The Present Characters agent displays avatars with a fixed centered square crop, which can cut off important parts of rectangular images. This causes inconsistent framing compared to other parts of the platform. ## Expected behavior The Present Characters agent should render avatars using the user-defined avatar crop boundary so the displayed image matches the intended framing. ## Actual behavior The agent uses a default square bounding box, which can crop rectangular avatars awkwardly and show the torso instead of the head. ## Steps to reproduce 1. Use a rectangular avatar image for a Present Characters agent. 2. Open the agent display and observe the avatar framing. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Attached screenshot in Discord thread: Screenshot_2026-06-26_075838.png ## Additional context Reported as a feature request. The thread notes that other system components already use the dedicated user-defined bounding box for avatar display, and this change would improve visual consistency. Discord thread: [Feature Request] Change Present Characters agent's avatar display Thread link: https://discord.com/channels/1417099416812392641/1520038888767361044 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-06-26T12:11:52.039Z] AgentX: **What problem does this solve?** The Present Characters agent currently displays avatars using a fixed, default bounding box (a standard square centered on the image). This method fails when presented with rectangular avatar images, often resulting in an inconsistent visual output that crops out the character's head and instead shows their torso. **Proposed solution** Modify the rendering logic for the Present Characters agent to utilize the user-defined avatar crop boundary. By adopting this dedicated bounding box for display, the character avatars will remain consistent with how other system components display character avatars, regardless of the source image aspect ratio. **Alternatives considered** The current behavior (using a fixed default square crop) is functional but visually unacceptable due to the resulting inconsistent framing and cropping of critical parts of the avatar (like the head). Using the dedicated bounding box ensures the optimal portrayal of the character within the agent's interface. **Additional context** Implementing this change will ensure visual consistency across all areas where avatars are displayed throughout the platform, improving the overall user experience when interacting with Present Characters agents. [attached image 1: https://cdn.discordapp.com/attachments/1520038888767361044/1520038889056763994/Screenshot_2026-06-26_075838.png?ex=6a41b848&is=6a4066c8&hm=2fd34f4567bf671a64e09e030510b636981684c2c908507d8f313c4b468f5121&] [Discord message: https://discord.com/channels/1417099416812392641/1520038888767361044/1520038888767361044] [2026-06-28T09:40:56.004Z] Marinara: On it. [Discord message: https://discord.com/channels/1417099416812392641/1520038888767361044/1520725680734732389] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:36:37 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Jun 28, 2026):

Addressed in draft PR #2916 (commit 51dcf81e) as part of the June 28 issue sweep. Validation passed locally with pnpm check. Closing per maintainer request; please reopen or comment on the PR if anything still reproduces.

<!-- gh-comment-id:4826060788 --> @SpicyMarinara commented on GitHub (Jun 28, 2026): Addressed in draft PR #2916 (commit 51dcf81e) as part of the June 28 issue sweep. Validation passed locally with `pnpm check`. Closing per maintainer request; please reopen or comment on the PR if anything still reproduces.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1486
No description provided.