dotCMS / dotCMS/core

[DEFECT] Image transformation with /90q filter returns 404 on specific PNG/JPEG assets

Open
#33,875 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

OKR : Customer Support Team : Maintenance
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Problem Statement

Certain PNG and JPEG assets return a 404 response when applying the /90q filter (or /jpeg/90q sequence), even though:

  • the base file loads correctly
  • other images on the same site work with the same filters
  • the issue reproduces only for some image files, particularly transparent PNGs or older JPGs
Steps to Reproduce

Upload the provided PNG or JPG file to any dotCMS instance.
Access the base asset URL → Works.
Apply the /90q filter → 404 error.
Apply /jpeg/90q filter → 404 error.

Image

Acceptance Criteria

dotCMS should either:

Successfully process the PNG/JPEG and return a transformed image, OR
Gracefully fall back to the original asset if the transformation is incompatible.

dotCMS Version

Latest evergreen

Severity

Medium - Some functionality impacted

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are named. First reproduce the issue with the provided PNG or JPG, comparing the base URL with /90q and /jpeg/90q responses. Done means the affected assets return a transformed image or gracefully fall back to the original asset.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.