mirror of
https://github.com/itflow-org/itflow
synced 2026-11-21 03:47:25 +00:00
Pictures open in a Picture window: the profile, Admin Users, contacts, assets, locations and racks show the picture itself on a button with a camera badge, a person's initials or an Add a photo box when there is none, and clicking it opens a window over the form to drop, paste or choose a picture, crop it to fit its shape by dragging, zooming and turning, and use it or remove the one there is; new pictureField in functions/picture.php and js/picture_field.js put the crop in a hidden file input as a JPG or WebP up to 512 pixels for a person or 2048 for a photo, upright and without location or camera details, and set the existing remove field, so the forms post the same fields and no handler changed; a person's initials follow the name as it is typed; the old file inputs, remove boxes and preview scripts on those forms are gone; 26.11.9 changelog entries
This commit is contained in:
@@ -20,6 +20,7 @@ require_once __DIR__ . '/functions/domain.php';
|
||||
require_once __DIR__ . '/functions/certificate.php';
|
||||
require_once __DIR__ . '/functions/network.php';
|
||||
require_once __DIR__ . '/functions/user.php';
|
||||
require_once __DIR__ . '/functions/picture.php';
|
||||
require_once __DIR__ . '/functions/roles.php';
|
||||
require_once __DIR__ . '/functions/api_keys.php';
|
||||
require_once __DIR__ . '/functions/asset_interface.php';
|
||||
|
||||
Reference in New Issue
Block a user