• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kobotoolbox / kpi / 28667492961 / 6
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions-deps-2d1112a488
DEFAULT BRANCH: master
Ran 03 Jul 2026 02:48PM UTC
Files 890
Run time 51s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Jul 2026 02:41PM UTC coverage: 50.971% (-9.1%) from 60.118%
28667492961.6

push

github

web-flow
fix(gallery): heic images not being displayed DEV-2105 (#7206)

### đŸ“Ŗ Summary

HEIC images now show up in the Project → Data → Gallery view.

### 💭 Notes

Changes here:
- **`formGallery.selectors.ts`** — Added `image/heic` and `image/heif`
to the allowed image types so they pass the frontend filter
- **`formGallery.component.tsx`** — Modal now uses `download_large_url`
(1280px JPEG thumbnail) instead of `download_url` (the original file) to
display images

The backend already converts HEIC/HEIF to JPEG thumbnails (small: 240px,
medium: 640px, large: 1280px) while keeping the original file intact.
The gallery grid was fine because it uses `download_small_url`, but the
modal was trying to show the original HEIC file, which browsers can't
render. Now it shows the large JPEG version instead.

### 👀 Preview steps

1. â„šī¸ You'll need a project with image question and file question
2. Make a submission with heic image https://heic.digital/samples/ and
heif file https://convertico.com/samples/heif/
3. Go to Project → Data → Gallery
4. 🔴 [on main] HEIC and HEIF images don't appear in the gallery grid at
all
5. đŸŸĸ [on PR] Both images appears as thumbnails in the gallery grid
6. Click on the HEIC/HEIF image thumbnail
7. 🔴 [on main] N/A
8. đŸŸĸ [on PR] The image displays properly in the modal at 1280px
resolution
9. Navigate between images with the arrow buttons to confirm everything
still works

HEIF images are unfortunately not testable through `image` question, as
Enketo doesn't allow uploading them to `image` questions. Thus we use
the `file` question hack/feature.

4541 of 12458 branches covered (36.45%)

18874 of 37029 relevant lines covered (50.97%)

0.51 hits per line

Source Files on job 28667492961.6
  • Tree
  • List 890
  • Changed 219
  • Source Changed 0
  • Coverage Changed 219
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 28667492961
  • 4b129cd2 on github
  • Prev Job for on main (#28639218346.9)
  • Next Job for on main (#28770625340.6)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc