Skip to content

Commit

Permalink
change width of _small images
Browse files Browse the repository at this point in the history
  • Loading branch information
fhennig committed Nov 5, 2024
1 parent 26067d9 commit 8d01190
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions kubernetes/loculus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defaultOrganismConfig: &defaultOrganismConfig
schema: &schema
loadSequencesAutomatically: true
organismName: "Ebola Zaire"
image: "/images/organisms/ebolazaire.jpg"
image: "/images/organisms/ebolazaire_small.jpg"
### Field list
## General fields
# name: Key used across app to refer to this field (required)
Expand Down Expand Up @@ -1141,7 +1141,7 @@ defaultOrganisms:
schema:
<<: *schema
organismName: "West Nile Virus"
image: "/images/organisms/wnv.jpg"
image: "/images/organisms/wnv_small.jpg"
metadataAdd:
- name: lineage
header: "Lineage"
Expand Down Expand Up @@ -1369,7 +1369,7 @@ defaultOrganisms:
<<: *schema
organismName: "Crimean-Congo Hemorrhagic Fever Virus"
nucleotideSequences: [L, M, S]
image: "/images/organisms/cchf.jpg"
image: "/images/organisms/cchf_small.jpg"
metadataAdd:
- name: hostNameScientific
generateIndex: true
Expand Down
Binary file modified website/public/images/organisms/cchf_small.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified website/public/images/organisms/ebolasudan_small.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified website/public/images/organisms/ebolazaire_small.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified website/public/images/organisms/wnv_small.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion website/scripts/process_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ for img in "$IMAGE_DIR"/*.jpg; do
# Skip files that already have '_small' in their filename
if [[ $filename != *"_small" ]]; then
# Resize, compress the JPEG and save it
magick "$img" -resize 200x\> -strip -quality 85 "$IMAGE_DIR/${filename}_small.jpg"
magick "$img" -resize 220x\> -strip -quality 85 "$IMAGE_DIR/${filename}_small.jpg"
fi
done

0 comments on commit 8d01190

Please sign in to comment.