apostrophecms / apostrophecms/apostrophe

SVG cleanup losing portions of image

Open
#4,006 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
4.6k
Forks
650
Avg merge
19h 21m
Merged PRs (30d)
23

Description

When loading an SVG into the CMS, it is losing a portion of the image during compression/cleanup of the file.

Discussed in discord here:
https://discord.com/channels/517772094482677790/701815369005924374/1065382944035831818

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the reported SVG cleanup behavior and the linked Discord discussion, then locate the CMS code responsible for loading and compressing SVG files. No file or test is named in the issue. Done means the affected portions of an SVG are preserved after loading and cleanup, with the behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend, content
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.