Skip to content

Conversation

@Barosandu
Copy link

Description

This PR makes a small fix to base64 image naming. The :sub(1,20) and :sub(1,8) were causing many base64 images to have the same name, i removed it, and set the content_id to the sha256 of the content. This provides more uniqueness, while keeping a still small 256 bit string as the name. ( + '-content' ) extension

Related Issue(s)

Screenshots

@github-actions github-actions bot added image size/s Small PR (<10 lines changed) labels Dec 16, 2025
@Barosandu Barosandu changed the title Fixed base64 images. image: fixed base64 images' naming. Dec 16, 2025
@Barosandu Barosandu changed the title image: fixed base64 images' naming. fix: fixed base64 images' naming. Dec 16, 2025
@Barosandu Barosandu changed the title fix: fixed base64 images' naming. fix(image): fixed base64 images' naming. Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

image size/s Small PR (<10 lines changed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant