Skip to content

Commit

Permalink
📝 Cadrage
Browse files Browse the repository at this point in the history
  • Loading branch information
Guitguitou authored and cprodhomme committed Jan 21, 2025
1 parent d45ff5c commit a1b315d
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EVA-288 : Les illustrations des questions sont automatiquement redimensionnées quand elles sont uploadées

[Lien du ticket](https://captive-team.atlassian.net/browse/EVA-288)

## Étapes
- Installer la gem image_processing
- Installer Vips sur le projet
- Dans le model QuestionGlisserDeposer:
on va rajouter le resize de la zone depot:
`has_one_attached :zone_depot, resize_to_limit: [1008, 566], preprocessed: true`
- Dans le model Question;
`has_one_attached :illustration, resize_to_limit: [1008, 566], preprocessed: true`

0 comments on commit a1b315d

Please sign in to comment.