galaxyproject / galaxyproject/training-material

Lint and block too-large images

Open
#5,542 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
367
Forks
1.1k
Avg merge
16h 27m
Merged PRs (30d)
49

Description

(or provide some complicated javascript tile based image process) because https://training.galaxyproject.org/training-material/topics/microbiome/tutorials/pathogen-detection-from-nanopore-foodborne-data/images/heatmap2.png is too large at 28000px square

- in chrome it didn't load for me, just showed 'broken'
- in firefox it loads after like a full minute, just to show this:

![blurry unreadable garbage](https://github.com/user-attachments/assets/648fb976-e3c1-40ef-8fab-042d96f17c01)

Contributor guide

Open the contributing guide

Research direction

Start with the referenced heatmap2.png URL and inspect the repository for existing image or content-validation entry points; the issue names no files or tests. Done means the oversized image is detected and blocked, or an agreed tile-based alternative is provided, with the result checked in Chrome and Firefox.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, tooling
Issue type
Feature
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.