]> git.agnieray.net Git - galette.git/commit
Resize and crop members picture to a fixed ratio
authorGuillaume AGNIERAY <dev@agnieray.net>
Mon, 9 Oct 2023 17:35:06 +0000 (19:35 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Thu, 12 Oct 2023 15:33:19 +0000 (17:33 +0200)
commit656a27131e21a3caff6feacbf4a01fb139bba772
tree1e4f9e26366c609bbe0c049ea583b9ff26292314
parent8d4ed0465414ea434346de5312181afb40ada0b6
Resize and crop members picture to a fixed ratio

closes #1717

Add cropping options in settings parameters tab
Add cropping focus selection on member form
Add cropping on resizeImage()
Minimum image dimensions required from cropping

Restore and extend drag and drop picture feature
Clean CSS and template
14 files changed:
galette/lib/Galette/Controllers/AjaxController.php
galette/lib/Galette/Controllers/Crud/MembersController.php
galette/lib/Galette/Core/Picture.php
galette/lib/Galette/Core/Preferences.php
galette/lib/Galette/Entity/Adherent.php
galette/lib/Galette/IO/FileInterface.php
galette/lib/Galette/IO/FileTrait.php
galette/templates/default/components/forms/picture.html.twig
galette/templates/default/elements/js/photo_dnd.js.twig
galette/templates/default/elements/member_card.html.twig
galette/templates/default/pages/member_form.html.twig
galette/templates/default/pages/members_public_gallery.html.twig
galette/templates/default/pages/preferences.html.twig
ui/semantic/galette/views/item.overrides