1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/15769] Use hermite for improved resizing and display after upload

Display after upload will look more natural than the skewed and downsized
version as was shown before.

PHPBB3-15769
This commit is contained in:
Marc Alexander
2022-07-27 17:17:42 +02:00
parent 7bf42797a7
commit d39cb74c5d
3 changed files with 27 additions and 10 deletions

View File

@@ -6,6 +6,7 @@
{% INCLUDECSS T_ASSETS_PATH ~ '/css/cropper.min.css' %}
{% INCLUDEJS T_ASSETS_PATH ~ '/javascript/cropper.min.js' %}
{% INCLUDEJS T_ASSETS_PATH ~ '/javascript/jquery-cropper.js' %}
{% INCLUDEJS T_ASSETS_PATH ~ '/javascript/hermite.js' %}
{% INCLUDEJS T_ASSETS_PATH ~ '/javascript/phpbb-avatars.js' %}
<input type="hidden" id="avatar-cropper-data" name="avatar_cropper_data" value=""