Skip to content

Conversation

@Aibono1225
Copy link
Member

Description

✏️
In production, Tina sometimes prefixes external image URLs with assets.tina.io due to type: "image" in the Tina schema.
Added normalizeSrc() in ImageEmbed to strip the extra prefix safely.

Screenshot (optional)

✏️
Before:
image

After:
image

@PothieuG PothieuG merged commit 1a91891 into main Nov 3, 2025
2 of 3 checks passed
@PothieuG PothieuG deleted the 2073-fix-broken-image branch November 3, 2025 09:07
jakebayliss pushed a commit that referenced this pull request Nov 4, 2025
## Description
✏️ 
In production, Tina sometimes prefixes external image URLs with
assets.tina.io due to type: "image" in the Tina schema.
Added normalizeSrc() in ImageEmbed to strip the extra prefix safely.

## Screenshot (optional)
✏️ 
**Before:**
<img width="1774" height="1124" alt="image"
src="https://github.com/user-attachments/assets/54f5da18-f853-40db-b356-f825d888154d"
/>


**After:**
<img width="1727" height="1349" alt="image"
src="https://github.com/user-attachments/assets/b0612948-9c78-4a85-9b0c-f81488113845"
/>



<!-- 
Check out the relevant rules
-
https://www.ssw.com.au/rules/use-pull-request-templates-to-communicate-expectations/
- https://www.ssw.com.au/rules/rules-to-better-pull-requests
- https://www.ssw.com.au/rules/write-a-good-pull-request
- https://www.ssw.com.au/rules/over-the-shoulder-prs 
- https://www.ssw.com.au/rules/do-you-use-co-creation-patterns
-->
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.

4 participants